$string['moodleversion'] = 'Moodle Version';
$string['more'] = 'more';
$string['moreinformation'] = 'More information about this error';
+$string['moreprofileinfoneeded'] = 'Please tell us more about yourself';
$string['mostrecently'] = 'most recently';
$string['move'] = 'Move';
$string['movecategoryto'] = 'Move category to:';
$tabs = array($toprow);
}
-/// Print out the tabs and continue!
-
- print_tabs($tabs, $currenttab, $inactive, $activetwo);
+ if ($currenttab == 'editprofile' && ($user->id == $USER->id) && user_not_fully_set_up($USER)) {
+ /// We're being forced here to fix profile
+ notify(get_string('moreprofileinfoneeded'));
+ } else {
+ /// Print out the tabs and continue!
+ print_tabs($tabs, $currenttab, $inactive, $activetwo);
+ }
?>