mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
22 lines
608 B
PHP
22 lines
608 B
PHP
<?PHP // $Id$
|
|
|
|
require("../config.php");
|
|
|
|
if (!empty($SESSION->doclang)) {
|
|
$currlang = $SESSION->doclang;
|
|
} else {
|
|
$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));
|
|
|
|
?>
|
|
|