]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17458 more installation improvements and cleanup
authorskodak <skodak>
Sun, 1 Feb 2009 17:04:34 +0000 (17:04 +0000)
committerskodak <skodak>
Sun, 1 Feb 2009 17:04:34 +0000 (17:04 +0000)
admin/index.php

index 50872bbc341882a673f9e9e86a08a25fe3c551a6..efdea060a0a7f657cfce422dbb803e3601935756 100644 (file)
     /// fake some settings
         $CFG->docroot = 'http://docs.moodle.org';
 
+        $strinstallation = get_string('installation', 'install');
+
     /// remove current session content completely
         session_get_instance()->terminate_current();
 
         if (empty($agreelicense)) {
             $strlicense = get_string('license');
             $navigation = build_navigation(array(array('name'=>$strlicense, 'link'=>null, 'type'=>'misc')));
-            print_header($strlicense, $strlicense, $navigation, "", "", false, "&nbsp;", "&nbsp;");
+            print_header($strinstallation, $strinstallation, $navigation, "", "", false, "&nbsp;", "&nbsp;");
             print_heading("<a href=\"http://moodle.org\">Moodle</a> - Modular Object-Oriented Dynamic Learning Environment");
             print_heading(get_string('copyrightnotice'));
             $copyrightnotice = text_to_html(get_string('gpl'));
         if (empty($confirmrelease)) {
             $strcurrentrelease = get_string("currentrelease");
             $navigation = build_navigation(array(array('name'=>$strcurrentrelease, 'link'=>null, 'type'=>'misc')));
-            print_header($strcurrentrelease, $strcurrentrelease, $navigation, "", "", false, "&nbsp;", "&nbsp;");
+            print_header($strinstallation, $strinstallation, $navigation, "", "", false, "&nbsp;", "&nbsp;");
             print_heading("Moodle $release");
             $releasenoteslink = get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes');
             $releasenoteslink = str_replace('target="_blank"', 'onclick="this.target=\'_blank\'"', $releasenoteslink); // extremely ugly validation hack
             die;
         }
 
-        $strdatabasesetup    = get_string("databasesetup");
+        $strdatabasesetup = get_string("databasesetup");
         $navigation = build_navigation(array(array('name'=>$strdatabasesetup, 'link'=>null, 'type'=>'misc')));
 
-        print_header($strdatabasesetup, $strdatabasesetup, $navigation,
+        print_header($strinstallation, $strinstallation, $navigation,
                     "", upgrade_get_javascript(), false, "&nbsp;", "&nbsp;");
 
         if (!$DB->setup_is_unicodedb()) {