]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_forced_campaigns.php
Code style changed, ext-user continued:
[mailer.git] / inc / modules / admin / what-list_forced_campaigns.php
index 3a1ad98836ea9583cabb480e37fff7c339d15d30..50949df58064c9ee8751777f67ea860d956cbaf5 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // By default show the list...
-$show = true;
+$show = TRUE;
 
 // Check for 'url_id' element
 if ((!isFormSent('add')) && (countRequestPost() > 0) && (!ifPostContainsSelections('forced_campaign_id'))) {
@@ -64,7 +64,7 @@ if (isFormSent('add')) {
        showEntriesByXmlCallback('admin_edit_show_forced_campaigns');
 
        // 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_forced_campaigns');
@@ -73,7 +73,7 @@ if (isFormSent('add')) {
        showEntriesByXmlCallback('admin_delete_show_forced_campaigns');
 
        // 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_forced_campaigns');
@@ -82,7 +82,7 @@ if (isFormSent('add')) {
        showEntriesByXmlCallback('admin_lock_show_forced_campaigns');
 
        // Do not show the list of URLs after this template
-       $show = false;
+       $show = FALSE;
 } elseif (isFormSent('do_lock')) {
        // Un-/lock selected campaigns. This does not work for pending campaigns
        showEntriesByXmlCallback('admin_lock_do_forced_campaigns');
@@ -98,9 +98,9 @@ if (isFormSent('add')) {
 }
 
 // Show entries?
-if ($show === false) {
+if ($show === FALSE) {
        // No, a form has already been show
-       return false;
+       return FALSE;
 } // END - if
 
 // List all campaigns
@@ -112,7 +112,7 @@ $content = array(
 );
 
 // Display form for adding a forced-ad
-loadTemplate('admin_add_forced_campaign', false, $content);
+loadTemplate('admin_add_forced_campaign', FALSE, $content);
 
 // [EOF]
 ?>