<?php
/************************************************************************
* Mailer v0.2.1-FINAL Start: 09/08/2008 *
- * ================ Last change: 09/08/2008 *
+ * =================== Last change: 09/08/2008 *
* *
* -------------------------------------------------------------------- *
* File : what-unlock_surfbar_urls.php *
addMenuDescription('admin', __FILE__);
// Is the form sent?
-if ((isPostRequestElementSet('unlock')) && (is_array(postRequestElement('id'))) && (count(postRequestElement('id')) > 0)) {
+if ((isPostRequestParameterSet('unlock')) && (is_array(postRequestParameter('id'))) && (count(postRequestParameter('id')) > 0)) {
// Unlock selected URLs
- if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestElement('id'))) {
+ if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestParameter('id'))) {
// Unlock done! :-)
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_DONE'));
} else {
// Unlock failed!
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_FAILED'));
}
-} elseif ((isPostRequestElementSet(('reject'))) && (is_array(postRequestElement('id'))) && (count(postRequestElement('id')) > 0)) {
+} elseif ((isPostRequestParameterSet(('reject'))) && (is_array(postRequestParameter('id'))) && (count(postRequestParameter('id')) > 0)) {
// Reject selected URLs
- if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestElement('id'))) {
+ if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestParameter('id'))) {
// Unlock done! :-)
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_DONE'));
} else {