if (!isGetRequestParameterSet('userid')) {
// Output selection form with all confirmed user accounts listed
addMemberSelectionBox();
- } elseif (isPostRequestParameterSet('edit')) {
+ } elseif (isFormSent('edit')) {
// Ok, change the account...
$updateUser = false; $add = '';
if ((!isPostRequestParameterSet('pass1')) && (!isPostRequestParameterSet('pass2'))) {
postRequestParameter('email'),
bigintval(getRequestParameter('userid')),
), __FILE__, __LINE__);
- $content = getMessage('USER_ACCOUNT_SAVED');
+ $content = '{--ADMIN_USER_ACCOUNT_SAVED--}';
} else {
// Problem while saving data
- $content = getMessage('USER_ACCOUNT_NOT_SAVED');
+ $content = '{--ADMIN_USER_ACCOUNT_NOT_SAVED--}';
}
// Load template
}
} else {
// Account does not exists!
- loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')) . '</div>');
+ loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))));
}
// Free the result