]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed up some of the headers during installation (remove logout links).
authormoodler <moodler>
Mon, 19 May 2003 13:12:27 +0000 (13:12 +0000)
committermoodler <moodler>
Mon, 19 May 2003 13:12:27 +0000 (13:12 +0000)
admin/index.php

index 2a702d10db08a6c875be283409c11a69950e3986..fdeddce0cb371e40e62d373ecad2c89f124824fa 100644 (file)
@@ -94,7 +94,7 @@
     if (! $maintables) {
         if (!$agreelicence) {
             $strlicense = get_string("license");
-            print_header($strlicense, $strlicense, $strlicense);
+            print_header($strlicense, $strlicense, $strlicense, "", "", false, "&nbsp;", "&nbsp;");
             print_heading("<A HREF=\"http://moodle.org\">Moodle</A> - Modular Object-Oriented Dynamic Learning Environment");
             print_heading(get_string("copyrightnotice"));
             print_simple_box_start("center");
 
         $strdatabasesetup    = get_string("databasesetup");
         $strdatabasesuccess  = get_string("databasesuccess");
-        print_header($strdatabasesetup, $strdatabasesetup, $strdatabasesetup);
+        print_header($strdatabasesetup, $strdatabasesetup, $strdatabasesetup, "", "", false, "&nbsp;", "&nbsp;");
         if (file_exists("$CFG->libdir/db/$CFG->dbtype.sql")) {
             $db->debug = true;
             set_time_limit(0);  // To allow slow databases to complete the long SQL
             $a->newversion = $version;
             $strdatabasechecking = get_string("databasechecking", "", $a);
             $strdatabasesuccess  = get_string("databasesuccess");
-            print_header($strdatabasechecking, $strdatabasechecking, $strdatabasechecking);
+            print_header($strdatabasechecking, $strdatabasechecking, $strdatabasechecking, 
+                         "", "", false, "&nbsp;", "&nbsp;");
             print_heading($strdatabasechecking);
             $db->debug=true;
             if (main_upgrade($CFG->version)) {
        
     } else {
         $strcurrentversion = get_string("currentversion");
-        print_header($strcurrentversion, $strcurrentversion, $strcurrentversion);
+        print_header($strcurrentversion, $strcurrentversion, $strcurrentversion, 
+                     "", "", false, "&nbsp;", "&nbsp;");
 
         if (set_config("version", $version)) {
             print_heading("You are currently using Moodle version $version (Release $release)");
 
     if ($release <> $CFG->release) {  // Update the release version
         $strcurrentrelease = get_string("currentrelease");
-        print_header($strcurrentrelease, $strcurrentrelease, $strcurrentrelease);
+        print_header($strcurrentrelease, $strcurrentrelease, $strcurrentrelease, "", "", false, "&nbsp;", "&nbsp;");
         print_heading($release);
         if (!set_config("release", $release)) {
             notify("ERROR: Could not update release version in database!!");
         } else {    // module not installed yet, so install it
             if (empty($updated_modules)) {
                 $strmodulesetup    = get_string("modulesetup");
-                print_header($strmodulesetup, $strmodulesetup, $strmodulesetup);
+                print_header($strmodulesetup, $strmodulesetup, $strmodulesetup, "", "", false, "&nbsp;", "&nbsp;");
             }
             print_heading($module->name);
             $updated_modules = true;