- if (SURFBAR_MEMBER_DO_FORM($_POST, $URLs)) {
- // Action performed
- LOAD_TEMPLATE("admin_settings_saved", false, MEMBER_SURFBAR_ACTION_DONE);
+ if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $URLs)) {
+ // Action performed but shall we display it?
+ if (((postRequestElement('action') != 'edit') && (postRequestElement('action') != "delete")) || (isPostRequestElementSet(('execute')))) {
+ // Display "action done" message if action is wether 'edit' nor 'delete' or has been executed
+ loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SURFBAR_ACTION_DONE'));
+ } // END - if