moodle/doc/top.php
moodler 3db3acfb99 Instead of using doclang, use $SESSION->lang, and make it override other
language settings.  This should fix documentation display, but also will
be how setting registration languages and login languages works
2003-01-19 12:32:55 +00:00

18 lines
509 B
PHP

<?PHP // $Id$
require("../config.php");
$currlang = current_language();
$langs = get_list_of_languages();
$langmenu = popup_form ("$CFG->wwwroot/doc/?lang=", $langs, "chooselang", $currlang, "", "", "", true);
if (! $site = get_site()) {
error("Site is misconfigured");
}
$strdocumentation = get_string("documentation");
print_header("$site->shortname: $strdocumentation", "$site->fullname", "$strdocumentation", "", "", true, $langmenu, navmenu($site));
?>