]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_point_accounts.php
Filters for configurable userid exclusion added:
[mailer.git] / inc / modules / admin / what-list_point_accounts.php
index b6f542d442643f63c0289d3be02499bd22571653..ab31e813f048be28447549325f21e97b70c0d867 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('id'))) {
@@ -67,32 +67,32 @@ if (isFormSent('add')) {
        }
 } elseif (isFormSent('edit')) {
        // Show only custom entries for editing
-       showEntriesByXmlCallback('admin_edit_show_point_accounts');
+       doGenericXmlTemplateCallback('admin_edit_show_point_accounts');
 
        // Do not show the list of URLs after this template
-       $show = false;
+       $show = FALSE;
 } elseif (isFormSent('do_edit')) {
        // Change data of only custom entries
-       showEntriesByXmlCallback('admin_edit_do_point_accounts');
+       doGenericXmlTemplateCallback('admin_edit_do_point_accounts');
 } elseif ((isFormSent('delete')) && (ifPointsAccountTypeMatchesPost('CUSTOM'))) {
        // Show only custom entries for deleting
-       showEntriesByXmlCallback('admin_delete_show_point_accounts');
+       doGenericXmlTemplateCallback('admin_delete_show_point_accounts');
 
        // Do not show the list of URLs after this template
-       $show = false;
+       $show = FALSE;
 } elseif ((isFormSent('do_delete')) && (ifPointsAccountTypeMatchesPost('CUSTOM'))) {
        // Remove only custom entries
-       showEntriesByXmlCallback('admin_delete_do_point_accounts');
+       doGenericXmlTemplateCallback('admin_delete_do_point_accounts');
 }
 
 // Show entries?
-if ($show === false) {
+if ($show === FALSE) {
        // No, a form has already been show
-       return false;
+       return FALSE;
 } // END - if
 
 // List all campaigns
-showEntriesByXmlCallback('admin_list_point_accounts');
+doGenericXmlTemplateCallback('admin_list_point_accounts');
 
 // Display form for adding a forced-ad
 loadTemplate('admin_add_point_accounts');