Putting up a title and moving the heading to the top for consistency

with the 'setting up primary admin' screen.

Is it just me or does Moodle look REALLY awful during setup? :/
This commit is contained in:
defacer 2007-02-23 04:08:55 +00:00
parent 2535bff9bd
commit 99571c3e85

View 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();