]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_
Some major rewrites + ext-network continued:
[mailer.git] / inc / modules / admin / what-list_
index e190b12960d5f34fb3b3ed47f2467f43d1d4a76f..2f0c1556965f1b72bf71b371fc43bb85cf373d59 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : what-list_!!!s.php                               *
  * -------------------------------------------------------------------- *
- * Short description : List all URLs in !!! and sync from mail pool     *
+ * Short description : List all URLs in !!!                             *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Alle URLs in !!! auflisten und syncen            *
+ * Kurzbeschreibung  : Alle URLs in !!! auflisten                       *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // By default show the list...
-$show = true;
+$show = TRUE;
 
 // Check for '???_id' element
 if ((countRequestPost() > 0) && (!ifPostContainsSelections('???_id'))) {
@@ -58,50 +58,50 @@ 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_!!!s');
 
        // 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_!!!s');
+       doGenericXmlTemplateCallback('admin_edit_do_!!!s');
 } elseif (isFormSent('delete')) {
        // Show entries for deletion
-       showEntriesByXmlCallback('admin_delete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_show_!!!s');
 
        // 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_!!!s');
+       doGenericXmlTemplateCallback('admin_delete_do_!!!s');
 } elseif (isFormSent('lock')) {
        // Un-/lock selected URLs. This does not work for pending URLs
-       showEntriesByXmlCallback('admin_lock_show_!!!s');
+       doGenericXmlTemplateCallback('admin_lock_show_!!!s');
 
        // Do not show the list of URLs after this template
-       $show = false;
+       $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_!!!s');
 } elseif (isFormSent('undelete')) {
        // Undelete selected URLs. This does only work for deleted URLs... ;-)
-       showEntriesByXmlCallback('admin_undelete_show_!!!s');
+       doGenericXmlTemplateCallback('admin_undelete_show_!!!s');
 
        // Do not show the list of URLs after this template
-       $show = false;
+       $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_!!!s');
 }
 
 // Show entries?
-if ($show === false) {
+if ($show === FALSE) {
        // No, a form has already been show
-       return false;
+       return FALSE;
 } // END - if
 
-// List all URLs
-showEntriesByXmlCallback('admin_list_!!!s');
+// List all !!!
+doGenericXmlTemplateCallback('admin_list_!!!s');
 
 // [EOF]
 ?>