Tidied up logs HTML a bit, to make it more readable.
[moodle-linuxchix.git] / doc / top.php
blobbef501e38a07c642a627d33758f9e5fbb246dc53
1 <?PHP // $Id$
3 require("../config.php");
5 if ($CFG->forcelogin) {
6 require_login();
9 if (empty($CFG->langmenu)) {
10 $langmenu = "";
11 } else {
12 $currlang = current_language();
13 $langs = get_list_of_languages();
14 $langmenu = popup_form ("$CFG->wwwroot/doc/?lang=", $langs, "chooselang", $currlang, "", "", "", true, "parent");
17 if (! $site = get_site()) {
18 error("Site is misconfigured");
20 $strdocumentation = get_string("documentation");
21 print_header("$site->shortname: $strdocumentation", "$site->fullname", "$strdocumentation", "", "", true, $langmenu, navmenu($site, NULL, "parent"));