die();
} // END - if
+// Handle a (maybe) sent form here
+function doNetworkHandleForm () {
+ // Was the form sent?
+ if ((isFormSent()) || (isPostRequestElementSet('edit')) || (isPostRequestElementSet('del')) || (isPostRequestElementSet('change')) || (isPostRequestElementSet('remove'))) {
+ // Do we have a 'do'?
+ if (isGetRequestElementSet('do')) {
+ // Process the request
+ doAdminNetworkProcessForm();
+ } else {
+ // No 'do' found
+ loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_DO_404'));
+ }
+ } // END - if
+}
+
// Processes an admin form
function doAdminNetworkProcessForm () {
// Form really sent?
// Is the function valid?
if (!function_exists($functionName)) {
// Invalid function name
- debug_report_bug('Invalid do ' . getRequestElement('do') . ', function ' . $functionName .' does not exist.');
+ debug_report_bug('Invalid do ' . getRequestElement('do') . ', function ' . $functionName .' does not exist.', false);
} // END - if
// Call-back the method handling our request