]> 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 4885a6a28582a6d1e53290b4b1e10998127548aa..2f0c1556965f1b72bf71b371fc43bb85cf373d59 100644 (file)
@@ -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 !!!
-showEntriesByXmlCallback('admin_list_!!!s');
+doGenericXmlTemplateCallback('admin_list_!!!s');
 
 // [EOF]
 ?>