]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_forced_ads.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_forced_ads.php
index 4771a77db5e25f6447020466741c933e93dfbc2d..a0f0e1e02b987df2b60d8bba33a28f4ca754edaf 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -58,25 +58,25 @@ if ((!isFormSent('add')) && (countRequestPost() > 0) && (!ifPostContainsSelectio
 // Edit or delete button hit?
 if (isFormSent('add')) {
        // Add new forced ad
-       showEntriesByXmlCallback('admin_add_do_forced_ads');
+       doGenericXmlTemplateCallback('admin_add_do_forced_ads');
 } elseif (isFormSent('edit')) {
        // Show entries for editing
-       showEntriesByXmlCallback('admin_edit_show_forced_ads');
+       doGenericXmlTemplateCallback('admin_edit_show_forced_ads');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_edit')) {
        // Change data of entries
-       showEntriesByXmlCallback('admin_edit_do_forced_ads');
+       doGenericXmlTemplateCallback('admin_edit_do_forced_ads');
 } elseif (isFormSent('delete')) {
        // Show entries for deletion
-       showEntriesByXmlCallback('admin_delete_show_forced_ads');
+       doGenericXmlTemplateCallback('admin_delete_show_forced_ads');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_delete')) {
        // Remove entries from database
-       showEntriesByXmlCallback('admin_delete_do_forced_ads');
+       doGenericXmlTemplateCallback('admin_delete_do_forced_ads');
 }
 
 // Show entries?
@@ -86,7 +86,7 @@ if ($show === FALSE) {
 } // END - if
 
 // List all URLs
-showEntriesByXmlCallback('admin_list_forced_ads');
+doGenericXmlTemplateCallback('admin_list_forced_ads');
 
 // Display form for adding a forced-ad
 loadTemplate('admin_add_forced_ad');