// Unlock selected URLs
if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestParameter('url_id'))) {
// Unlock done! :-)
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_UNLOCK_DONE--}');
+ displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
} else {
// Unlock failed!
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
+ displayMessage('{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
}
} elseif ((isPostRequestParameterSet('reject')) && (is_array(postRequestParameter('url_id'))) && (count(postRequestParameter('url_id')) > 0)) {
// Reject selected URLs
if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestParameter('url_id'))) {
// Unlock done! :-)
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_UNLOCK_DONE--}');
+ displayMessage('{--ADMIN_SURFBAR_UNLOCK_DONE--}');
} else {
// Unlock failed!
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
+ displayMessage('{--ADMIN_SURFBAR_UNLOCK_FAILED--}');
}
}
loadTemplate('admin_unlock_surfbar_urls', false, $OUT);
} else {
// No URLs in surfbar
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SURFBAR_NO_URLS_FOUND--}');
+ displayMessage('{--ADMIN_SURFBAR_NO_URLS_FOUND--}');
}
// Free result