Skip to content
Browse files

Fix for switching languages in documentation

  • Loading branch information...
1 parent ec180dc commit cd5d0d7f8e2ca2288b67c51b28358a4106d220d4 moodler committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/top.php
View
4 doc/top.php
@@ -7,14 +7,14 @@
} else {
$currlang = current_language();
$langs = get_list_of_languages();
- $langmenu = popup_form ("$CFG->wwwroot/doc/?lang=", $langs, "chooselang", $currlang, "", "", "", true);
+ $langmenu = popup_form ("$CFG->wwwroot/doc/?lang=", $langs, "chooselang", $currlang, "", "", "", true, "parent");
}
if (! $site = get_site()) {
error("Site is misconfigured");
}
$strdocumentation = get_string("documentation");
- print_header("$site->shortname: $strdocumentation", "$site->fullname", "$strdocumentation", "", "", true, $langmenu, navmenu($site));
+ print_header("$site->shortname: $strdocumentation", "$site->fullname", "$strdocumentation", "", "", true, $langmenu, navmenu($site, NULL, "parent"));
?>

0 comments on commit cd5d0d7

Please sign in to comment.
Something went wrong with that request. Please try again.