]> git.mjollnir.org Git - moodle.git/commitdiff
Putting up a title and moving the heading to the top for consistency
authordefacer <defacer>
Fri, 23 Feb 2007 04:08:55 +0000 (04:08 +0000)
committerdefacer <defacer>
Fri, 23 Feb 2007 04:08:55 +0000 (04:08 +0000)
with the 'setting up primary admin' screen.

Is it just me or does Moodle look REALLY awful during setup? :/

admin/settings.php

index 0ee67a3cc1d4b047859ab92ea43747d597ceaeb7..201a42b83dc07900b4d117fa4881876bf741535d 100644 (file)
@@ -89,7 +89,7 @@ if ($data = data_submitted()) {
 // header must be printed after the redirects and require_logout
 
 if (empty($SITE->fullname)) {
-    print_header();
+    print_header($root->visiblename, $root->visiblename);
     print_simple_box(get_string('configintrosite', 'admin'), 'center', '50%');
 
     if ($statusmsg != '') {
@@ -103,7 +103,6 @@ if (empty($SITE->fullname)) {
     echo '<input type="hidden" name="section" value="' . $PAGE->section . '" />';
     echo '<input type="hidden" name="sesskey" value="' . $USER->sesskey . '" />';
     echo '<input type="hidden" name="return" value="' . $return . '" />';
-    print_heading($root->visiblename);
 
     echo $root->output_html();