addYouAreHereLink('admin', __FILE__);
// By default show the list...
-$show = true;
+$show = TRUE;
// Check for 'url_id' element
if ((!isFormSent('add')) && (countRequestPost() > 0) && (!ifPostContainsSelections('id'))) {
}
} elseif (isFormSent('edit')) {
// Show only custom entries for editing
- showEntriesByXmlCallback('admin_edit_show_point_accounts');
+ doGenericXmlTemplateCallback('admin_edit_show_point_accounts');
// Do not show the list of URLs after this template
- $show = false;
+ $show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of only custom entries
- showEntriesByXmlCallback('admin_edit_do_point_accounts');
+ doGenericXmlTemplateCallback('admin_edit_do_point_accounts');
} elseif ((isFormSent('delete')) && (ifPointsAccountTypeMatchesPost('CUSTOM'))) {
// Show only custom entries for deleting
- showEntriesByXmlCallback('admin_delete_show_point_accounts');
+ doGenericXmlTemplateCallback('admin_delete_show_point_accounts');
// Do not show the list of URLs after this template
- $show = false;
+ $show = FALSE;
} elseif ((isFormSent('do_delete')) && (ifPointsAccountTypeMatchesPost('CUSTOM'))) {
// Remove only custom entries
- showEntriesByXmlCallback('admin_delete_do_point_accounts');
+ doGenericXmlTemplateCallback('admin_delete_do_point_accounts');
}
// Show entries?
-if ($show === false) {
+if ($show === FALSE) {
// No, a form has already been show
- return false;
+ return FALSE;
} // END - if
// List all campaigns
-showEntriesByXmlCallback('admin_list_point_accounts');
+doGenericXmlTemplateCallback('admin_list_point_accounts');
// Display form for adding a forced-ad
loadTemplate('admin_add_point_accounts');