deleteUserAccount(getRequestParameter('userid'), postRequestParameter('reason'));
// Output message
- loadTemplate('admin_settings_saved', false, '{--ADMIN_DEL_COMPLETED--}');
+ loadTemplate('admin_settings_saved', false, '{--ADMIN_DELETE_COMPLETED--}');
} else {
// Account does not exists!
- loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '</div>');
+ loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))));
}
} elseif (isPostRequestParameterSet('no')) {
// Do not delete him...
loadTemplate('admin_del_user', false, $content);
} else {
// Account does not exists!
- loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '</div>');
+ loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))));
}
}