// Edit or delete button hit?
if (isFormSent('add')) {
// Add new forced ad
- showEntriesByXmlCallback('admin_add_do_forced_costs');
+ doGenericXmlTemplateCallback('admin_add_do_forced_costs');
} elseif (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_forced_costs');
+ doGenericXmlTemplateCallback('admin_edit_show_forced_costs');
// 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_costs');
+ doGenericXmlTemplateCallback('admin_edit_do_forced_costs');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('admin_delete_show_forced_costs');
+ doGenericXmlTemplateCallback('admin_delete_show_forced_costs');
// 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_costs');
+ doGenericXmlTemplateCallback('admin_delete_do_forced_costs');
}
// Show entries?
} // END - if
// List all URLs
-showEntriesByXmlCallback('admin_list_forced_costs');
+doGenericXmlTemplateCallback('admin_list_forced_costs');
// Display form for adding a forced-ad
loadTemplate('admin_add_forced_costs');