diff --git a/mod/glossary/export.php b/mod/glossary/export.php
index 72e1229c43f..16ff0b83efb 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');
?>