]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_
Heacy rewrite/cleanup:
[mailer.git] / inc / modules / admin / what-list_
index c18d48e917f49e5bccffecd0f05fbbb421a61846..58204dfd932a64e3905e64a8e48d750d850bf02c 100644 (file)
@@ -4,7 +4,7 @@
  * ===================                          Last change: 10/04/2012 *
  *                                                                      *
  * -------------------------------------------------------------------- *
- * File              : what-list_!!!s.php                               *
+ * File              : what-list_!!!.php                                *
  * -------------------------------------------------------------------- *
  * Short description : List all URLs in !!!                             *
  * -------------------------------------------------------------------- *
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -58,40 +58,40 @@ if ((countRequestPost() > 0) && (!ifPostContainsSelections('???_id'))) {
 // Edit or delete button hit?
 if (isFormSent('edit')) {
        // Show entries for editing
-       showEntriesByXmlCallback('admin_edit_show_!!!s');
+       doGenericXmlTemplateCallback('admin_edit_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_edit')) {
        // Change data of entries
-       showEntriesByXmlCallback('admin_edit_do_!!!s');
+       doGenericXmlTemplateCallback('admin_edit_do_!!!');
 } elseif (isFormSent('delete')) {
        // Show entries for deletion
-       showEntriesByXmlCallback('admin_delete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_delete')) {
        // Remove entries from database
-       showEntriesByXmlCallback('admin_delete_do_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_do_!!!');
 } elseif (isFormSent('lock')) {
        // Un-/lock selected URLs. This does not work for pending URLs
-       showEntriesByXmlCallback('admin_lock_show_!!!s');
+       doGenericXmlTemplateCallback('admin_lock_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_lock')) {
        // Un-/lock selected URLs. This does not work for pending URLs
-       showEntriesByXmlCallback('admin_lock_do_!!!s');
+       doGenericXmlTemplateCallback('admin_lock_do_!!!');
 } elseif (isFormSent('undelete')) {
        // Undelete selected URLs. This does only work for deleted URLs... ;-)
-       showEntriesByXmlCallback('admin_undelete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_undelete_show_!!!');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_undelete')) {
        // Undelete selected URLs. This does only work for deleted URLs... ;-)
-       showEntriesByXmlCallback('admin_undelete_do_!!!s');
+       doGenericXmlTemplateCallback('admin_undelete_do_!!!');
 }
 
 // Show entries?
@@ -101,7 +101,7 @@ if ($show === FALSE) {
 } // END - if
 
 // List all !!!
-showEntriesByXmlCallback('admin_list_!!!s');
+doGenericXmlTemplateCallback('admin_list_!!!');
 
 // [EOF]
 ?>