]> git.mjollnir.org Git - moodle.git/commitdiff
Fixes for copyright notice during install MDL-8114
authormoodler <moodler>
Tue, 9 Jan 2007 08:18:34 +0000 (08:18 +0000)
committermoodler <moodler>
Tue, 9 Jan 2007 08:18:34 +0000 (08:18 +0000)
admin/index.php

index 181af4fc61d2bef4a874962c90d1ea004d46fda8..8bcf530fac200056f4f53bd066d2eaadb8557ee8 100644 (file)
         $CFG->debug = DEBUG_MINIMAL;
         error_reporting($CFG->debug);
         if (empty($agreelicence)) {
-            $strlicense = get_string("license");
+            $strlicense = get_string('license');
             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');
-            echo text_to_html(get_string("gpl"));
-            print_simple_box_end();
+            print_heading(get_string('copyrightnotice'));
+            print_box(text_to_html(get_string('gpl')), 'copyrightnotice');
             echo "<br />";
-            notice_yesno(get_string("doyouagree"), "index.php?agreelicence=true",
+            notice_yesno(get_string('doyouagree'), "index.php?agreelicence=true",
                                                    "http://docs.moodle.org/en/License");
             exit;
         }