Setup screen for primary admin had no title, so added one plus a heading

This commit is contained in:
defacer 2007-02-23 03:06:14 +00:00
parent 9b70d31437
commit e2d84bf3ab
2 changed files with 3 additions and 1 deletions

View File

@ -1122,6 +1122,7 @@ $string['previewhtml'] = 'HTML Format Preview';
$string['previeworchoose'] = 'Preview or choose a theme';
$string['previous'] = 'Previous';
$string['previoussection'] = 'Previous section';
$string['primaryadminsetup'] = 'Setup administrator account';
$string['profile'] = 'Profile';
$string['publicdirectory'] = 'Public directory';
$string['publicdirectory0'] = 'Please do not publish this site';

View File

@ -158,7 +158,8 @@
print_heading($userfullname);
}
} else if (!empty($USER->newadminuser)) {
print_header();
$strprimaryadminsetup = get_string('primaryadminsetup');
print_header($strprimaryadminsetup, $strprimaryadminsetup);
print_simple_box(get_string('configintroadmin', 'admin'), 'center', '50%');
echo '<br />';
} else {