Skip to content

Commit

Permalink
Setup screen for primary admin had no title, so added one plus a heading
Browse files Browse the repository at this point in the history
  • Loading branch information
defacer committed Feb 23, 2007
1 parent 9b70d31 commit e2d84bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en_utf8/moodle.php
Expand Up @@ -1122,6 +1122,7 @@
$string['previeworchoose'] = 'Preview or choose a theme'; $string['previeworchoose'] = 'Preview or choose a theme';
$string['previous'] = 'Previous'; $string['previous'] = 'Previous';
$string['previoussection'] = 'Previous section'; $string['previoussection'] = 'Previous section';
$string['primaryadminsetup'] = 'Setup administrator account';
$string['profile'] = 'Profile'; $string['profile'] = 'Profile';
$string['publicdirectory'] = 'Public directory'; $string['publicdirectory'] = 'Public directory';
$string['publicdirectory0'] = 'Please do not publish this site'; $string['publicdirectory0'] = 'Please do not publish this site';
Expand Down
3 changes: 2 additions & 1 deletion user/editadvanced.php
Expand Up @@ -158,7 +158,8 @@
print_heading($userfullname); print_heading($userfullname);
} }
} else if (!empty($USER->newadminuser)) { } else if (!empty($USER->newadminuser)) {
print_header(); $strprimaryadminsetup = get_string('primaryadminsetup');
print_header($strprimaryadminsetup, $strprimaryadminsetup);
print_simple_box(get_string('configintroadmin', 'admin'), 'center', '50%'); print_simple_box(get_string('configintroadmin', 'admin'), 'center', '50%');
echo '<br />'; echo '<br />';
} else { } else {
Expand Down

0 comments on commit e2d84bf

Please sign in to comment.