+// Are there entries or form is submitted?
+if ((isFormSent()) && (isPostRequestElementSet(('action'))) && (isPostRequestElementSet('id'))) {
+ // Process the form
+ 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
+ } else {
+ // Something went wrong
+ loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SURFBAR_ACTION_FAILED'));
+ }
+} elseif (count($URLs) > 0) {