From: stronk7 Date: Thu, 29 Mar 2007 23:25:04 +0000 (+0000) Subject: Fixing export interface. Step3. MDL-8793 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a5c3d160dc675a67b1269b56880a4cb992a080b8;p=moodle.git Fixing export interface. Step3. MDL-8793 Merged from MOODLE_18_STABLE --- diff --git a/mod/glossary/export.php b/mod/glossary/export.php index 72e1229c43..16ff0b83ef 100644 --- a/mod/glossary/export.php +++ b/mod/glossary/export.php @@ -7,7 +7,6 @@ $mode= optional_param('mode', '', PARAM_ALPHA); // term entry cat date letter search author approval $hook= optional_param('hook', '', PARAM_CLEAN); // the term, entry, cat, etc... to look for based on mode - $l = optional_param('l','', PARAM_ALPHANUM); $cat = optional_param('cat',0, PARAM_ALPHANUM); if (! $cm = get_coursemodule_from_id('glossary', $id)) { @@ -36,31 +35,18 @@ $strsearchindefinition = get_string("searchindefinition", "glossary"); $strsearch = get_string("search"); $strexportfile = get_string("exportfile", "glossary"); + $strexportentries = get_string('exportentries', 'glossary'); - $navigation = ""; - if ($course->id != SITEID) { - $navigation = "id\">$course->shortname ->"; - require_login($course->id); - } - - print_header("$course->shortname: ".format_string($glossary->name), $course->fullname, - "$navigation id\">$strglossaries -> ".format_string($glossary->name), + print_header_simple(format_string($glossary->name), "", + "id\">$strglossaries -> " . + "" .format_string($glossary->name) . " -> " . + $strexportentries, "", "", true, update_module_button($cm->id, $course->id, $strglossary), navmenu($course, $cm)); - print_heading(format_string($glossary->name)); - -/// Info box - - if ( $glossary->intro ) { - print_simple_box(format_text($glossary->intro), 'center', '70%', '', 5, 'generalbox', 'intro'); - echo '
'; - } - -/// Tabbed browsing sections - $tab = GLOSSARY_EXPORT_VIEW; - include("tabs.php"); + print_heading($strexportentries); + print_box_start('glossarydisplay generalbox'); ?>
@@ -68,11 +54,9 @@
-
-