X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-list_surfbar_urls.php;h=02943e89dfcc1dd9e1741000d968fb91a517ee96;hb=596c8ab32594401ca84abfbfe35513ddfff31bec;hp=ad6c741db3e5cca74dd3499772ab4aaf79076a66;hpb=d6417790061e18fc1a9770ff93bb4e9d106b2f6e;p=mailer.git diff --git a/inc/modules/admin/what-list_surfbar_urls.php b/inc/modules/admin/what-list_surfbar_urls.php index ad6c741db3..02943e89df 100644 --- a/inc/modules/admin/what-list_surfbar_urls.php +++ b/inc/modules/admin/what-list_surfbar_urls.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -44,10 +44,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); // By default show the list... -$show = true; +$show = TRUE; // Check for 'url_id' element -if ((countRequestPost() > 0) && ((!isPostRequestParameterSet('url_id')) || (!is_array(postRequestParameter('url_id'))) || (count(postRequestParameter('url_id')) == 0))) { +if ((countRequestPost() > 0) && (!ifPostContainsSelections('url_id'))) { // Not found so output message displayMessage('{--ADMIN_SURFBAR_NO_SELECTIONS--}'); @@ -61,7 +61,7 @@ if (isFormSent('edit')) { showEntriesByXmlCallback('admin_edit_show_surfbar_urls'); // Do not show the list of URLs after this template - $show = false; + $show = FALSE; } elseif (isFormSent('do_edit')) { // Change data of entries showEntriesByXmlCallback('admin_edit_do_surfbar_urls'); @@ -70,7 +70,7 @@ if (isFormSent('edit')) { showEntriesByXmlCallback('admin_delete_show_surfbar_urls'); // Do not show the list of URLs after this template - $show = false; + $show = FALSE; } elseif (isFormSent('do_delete')) { // Remove entries from database showEntriesByXmlCallback('admin_delete_do_surfbar_urls'); @@ -79,7 +79,7 @@ if (isFormSent('edit')) { showEntriesByXmlCallback('admin_lock_show_surfbar_urls'); // Do not show the list of URLs after this template - $show = false; + $show = FALSE; } elseif (isFormSent('do_lock')) { // Un-/lock selected URLs. This does not work for pending URLs showEntriesByXmlCallback('admin_lock_do_surfbar_urls'); @@ -88,16 +88,16 @@ if (isFormSent('edit')) { showEntriesByXmlCallback('admin_undelete_show_surfbar_urls'); // Do not show the list of URLs after this template - $show = false; + $show = FALSE; } elseif (isFormSent('do_undelete')) { // Undelete selected URLs. This does only work for deleted URLs... ;-) showEntriesByXmlCallback('admin_undelete_do_surfbar_urls'); } // Show entries? -if ($show === false) { +if ($show === FALSE) { // No, a form has already been show - return false; + return FALSE; } // END - if // List all URLs