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'))) {
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');
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');
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');
}
// Show entries?
-if ($show === false) {
+if ($show === FALSE) {
// No, a form has already been show
- return false;
+ return FALSE;
} // END - if
// List all campaigns
);
// Display form for adding a forced-ad
-loadTemplate('admin_add_forced_campaign', false, $content);
+loadTemplate('admin_add_forced_campaign', FALSE, $content);
// [EOF]
?>