<?php
/************************************************************************
* Mailer v0.2.1-FINAL Start: 09/17/2008 *
- * ================ Last change: 09/17/2008 *
+ * =================== Last change: 09/17/2008 *
* *
* -------------------------------------------------------------------- *
* File : what-surfbar_list.php *
$URLs = SURFBAR_GET_USER_URLS();
// Are there entries or form is submitted?
-if ((isFormSent()) && (isPostRequestElementSet(('action'))) && (isPostRequestElementSet('id'))) {
+if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestParameterSet('id'))) {
// Process the form
if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $URLs)) {
// Action performed but shall we display it?
- if (((postRequestElement('action') != 'edit') && (postRequestElement('action') != "delete")) || (isPostRequestElementSet(('execute')))) {
+ 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, getMessage('MEMBER_SURFBAR_ACTION_DONE'));
} // END - if
$content['url'] = generateDerefererUrl($content['url']);
if ($content['views_total'] > 0) {
// Include link to stats
- $content['views_total'] = "[<a href=\"{?URL?}/modules.php?module=login&what=surfbar_list\">".translateComma($content['views_total'])."</a>]";
+ $content['views_total'] = "[<a href=\"{%url=modules.php?module=login&what=surfbar_list%}\">".translateComma($content['views_total'])."</a>]";
} // END - if
$content['registered'] = generateDateTime($content['registered'], 2);
$content['last_locked'] = generateDateTime($content['last_locked'], 2);