- if (empty($_POST['primus_nickname'])) {
- // Nothing entered in WDS66 user ID
- LOAD_TEMPLATE("admin_settings_saved", false, PRIMERA_MEMBER_EMPTY_USERNAME);
- OUTPUT_HTML("<br />");
- } elseif (empty($_POST['primera_password'])) {
- // Nothing entered in WDS66 password
- LOAD_TEMPLATE("admin_settings_saved", false, PRIMERA_MEMBER_EMPTY_PASSWORD);
- OUTPUT_HTML("<br />");
- } elseif (empty($_POST['amount'])) {
+ if (!isPostRequestElementSet(('primera_nickname'))) {
+ // Nothing entered in Primus nickname
+ loadTemplate('admin_settings_saved', false, getMessage('PRIMERA_MEMBER_EMPTY_USERNAME'));
+ } elseif (!isPostRequestElementSet(('primera_password'))) {
+ // Nothing entered in Primera password
+ loadTemplate('admin_settings_saved', false, getMessage('PRIMERA_MEMBER_EMPTY_PASSWORD'));
+ } elseif (!isPostRequestElementSet(('amount'))) {