* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
addYouAreHereLink('admin', __FILE__);
// Is the form sent?
-if ((isPostRequestElementSet('unlock')) && (is_array(postRequestElement('url_id'))) && (count(postRequestElement('url_id')) > 0)) {
+if ((isPostRequestElementSet('unlock')) && (ifPostContainsSelections('url_id'))) {
// Unlock selected URLs
- if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestElement('url_id'))) {
+ if (doSurfbaradminUnlockUrlIds(postRequestElement('url_id'))) {
// Unlock done! :-)
displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
} else {
// Unlock failed!
displayMessage('{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
}
-} elseif ((isPostRequestElementSet('reject')) && (is_array(postRequestElement('url_id'))) && (count(postRequestElement('url_id')) > 0)) {
+} elseif ((isPostRequestElementSet('reject')) && (ifPostContainsSelections('url_id'))) {
// Reject selected URLs
- if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestElement('url_id'))) {
+ if (doSurfbaradminRejectUrlIds(postRequestElement('url_id'))) {
// Unlock done! :-)
displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
} else {
}
// List all pendingURLs
-showEntriesByXmlCallback('admin_unlock_surfbar_urls');
+doGenericXmlTemplateCallback('admin_unlock_surfbar_urls');
// [EOF]
?>