return;
} // END - if
-$isValid = false;
+$isValid = FALSE;
if (isFormSent()) {
// Nickname was submitted so let's check if it is not already in use
} // END - if
} // END - if
-if ($isValid === true) {
+if ($isValid === TRUE) {
// Nickname already in use which is the default
$content = '{--MEMBER_NICKNAME_ALREADY_IN_USE--}';
// Load template
displayMessage($content);
} else {
- // Do we have already submit the form?
+ // Is there already submit the form?
if (isPostRequestElementSet('nickname')) {
- loadTemplate('admin_settings_unsaved', false, '{--MEMBER_NICKNAME_IS_INVALID--}');
+ displayErrorMessage('{--MEMBER_NICKNAME_IS_INVALID--}');
} // END - if
// Load Template