+// Are there entries or form is submitted?
+if ((isFormSent()) && (isPostRequestParameterSet('action')) && (isPostRequestParameterSet('id'))) {
+ // Process the form
+ if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $urlArray)) {
+ // Action performed but shall we display it?
+ if (((postRequestParameter('action') != 'edit') && (postRequestParameter('action') != 'delete')) || (isPostRequestParameterSet('execute'))) {
+ // Display "action done" message if action is wether 'edit' nor 'delete' or has been executed
+ loadTemplate('admin_settings_saved', false, '{--MEMBER_SURFBAR_ACTION_DONE--}');
+ } // END - if
+ } else {
+ // Something went wrong
+ loadTemplate('admin_settings_saved', false, '{--MEMBER_SURFBAR_ACTION_FAILED--}');
+ }
+} elseif (count($urlArray) > 0) {