]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_grade_data.php
Project continued:
[mailer.git] / inc / modules / admin / what-list_grade_data.php
index 154cae152293ff612dbe39ca1be109b9f44b6984..e7065423e798027e4c67db845b7903d9fb413d70 100644 (file)
@@ -58,28 +58,28 @@ if ((countRequestPost() > 0) && (!isFormSent('add_grade')) && (!ifPostContainsSe
 // Edit or delete button hit?
 if (isFormSent('add_grade')) {
        // Add grade
-       showEntriesByXmlCallback('admin_add_do_grade_data');
+       doGenericXmlTemplateCallback('admin_add_do_grade_data');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('edit')) {
        // Show entries for editing
-       showEntriesByXmlCallback('admin_edit_show_grade_data');
+       doGenericXmlTemplateCallback('admin_edit_show_grade_data');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_edit')) {
        // Change data of entries
-       showEntriesByXmlCallback('admin_edit_do_grade_data');
+       doGenericXmlTemplateCallback('admin_edit_do_grade_data');
 } elseif (isFormSent('delete')) {
        // Show entries for deletion
-       showEntriesByXmlCallback('admin_delete_show_grade_data');
+       doGenericXmlTemplateCallback('admin_delete_show_grade_data');
 
        // Do not show the list of URLs after this template
        $show = FALSE;
 } elseif (isFormSent('do_delete')) {
        // Remove entries from database
-       showEntriesByXmlCallback('admin_delete_do_grade_data');
+       doGenericXmlTemplateCallback('admin_delete_do_grade_data');
 }
 
 // Show entries?
@@ -89,7 +89,7 @@ if ($show === FALSE) {
 } // END - if
 
 // List all URLs
-showEntriesByXmlCallback('admin_list_grade_data');
+doGenericXmlTemplateCallback('admin_list_grade_data');
 
 // Add form for adding new entry
 loadTemplate('admin_add_grade_data');