}
// List all entries
-showEntriesByXmlCallback('admin_list_user_subid_stats');
+doGenericXmlTemplateCallback('admin_list_user_subid_stats');
// [EOF]
?>
// 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;
} 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;
} 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;
} 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;
} 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?
} // END - if
// List all !!!
-showEntriesByXmlCallback('admin_list_!!!s');
+doGenericXmlTemplateCallback('admin_list_!!!s');
// [EOF]
?>
// Delete entries?
if (isFormSent('do_delete')) {
// Remove entries from database
- showEntriesByXmlCallback('admin_delete_do_booking');
+ doGenericXmlTemplateCallback('admin_delete_do_booking');
} // END - if
// List all entries per user
- showEntriesByXmlCallback('admin_list_booking', array(
+ doGenericXmlTemplateCallback('admin_list_booking', array(
'userid' => bigintval(getRequestElement('userid'))
));
} else {
// Edit or delete button hit?
if (isFormSent('add')) {
// Add new forced ad
- showEntriesByXmlCallback('admin_add_do_forced_ads');
+ doGenericXmlTemplateCallback('admin_add_do_forced_ads');
} elseif (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_forced_ads');
+ doGenericXmlTemplateCallback('admin_edit_show_forced_ads');
// 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_ads');
+ doGenericXmlTemplateCallback('admin_edit_do_forced_ads');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('admin_delete_show_forced_ads');
+ doGenericXmlTemplateCallback('admin_delete_show_forced_ads');
// 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_ads');
+ doGenericXmlTemplateCallback('admin_delete_do_forced_ads');
}
// Show entries?
} // END - if
// List all URLs
-showEntriesByXmlCallback('admin_list_forced_ads');
+doGenericXmlTemplateCallback('admin_list_forced_ads');
// Display form for adding a forced-ad
loadTemplate('admin_add_forced_ad');
// Edit or delete button hit?
if (isFormSent('add')) {
// Add new forced ad
- showEntriesByXmlCallback('admin_add_do_forced_campaigns');
+ doGenericXmlTemplateCallback('admin_add_do_forced_campaigns');
} elseif (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_forced_campaigns');
+ doGenericXmlTemplateCallback('admin_edit_show_forced_campaigns');
// 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_campaigns');
+ doGenericXmlTemplateCallback('admin_edit_do_forced_campaigns');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('admin_delete_show_forced_campaigns');
+ doGenericXmlTemplateCallback('admin_delete_show_forced_campaigns');
// 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_campaigns');
+ doGenericXmlTemplateCallback('admin_delete_do_forced_campaigns');
} elseif (isFormSent('lock')) {
// Un-/lock selected campaigns. This does not work for pending campaigns
- showEntriesByXmlCallback('admin_lock_show_forced_campaigns');
+ doGenericXmlTemplateCallback('admin_lock_show_forced_campaigns');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_lock')) {
// Un-/lock selected campaigns. This does not work for pending campaigns
- showEntriesByXmlCallback('admin_lock_do_forced_campaigns');
+ doGenericXmlTemplateCallback('admin_lock_do_forced_campaigns');
} elseif (isFormSent('activate')) {
// List activation of selected campaigns. This does not work for locked campaigns
if (doForcedAdminActivateCampaigns()) {
} // END - if
// List all campaigns
-showEntriesByXmlCallback('admin_list_forced_campaigns');
+doGenericXmlTemplateCallback('admin_list_forced_campaigns');
// Init array
$content = array(
// 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');
// 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?
} // 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');
// Delete entries?
if (isFormSent('do_delete')) {
// Remove entries from database
- showEntriesByXmlCallback('admin_delete_do_nickname_history');
+ doGenericXmlTemplateCallback('admin_delete_do_nickname_history');
} // END - if
// List all entries per user
- showEntriesByXmlCallback('admin_list_nickname_history', array(
+ doGenericXmlTemplateCallback('admin_list_nickname_history', array(
'userid' => bigintval(getRequestElement('userid'))
));
} else {
}
} 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;
} 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;
} elseif ((isFormSent('do_delete')) && (ifPointsAccountTypeMatchesPost('CUSTOM'))) {
// Remove only custom entries
- showEntriesByXmlCallback('admin_delete_do_point_accounts');
+ doGenericXmlTemplateCallback('admin_delete_do_point_accounts');
}
// Show entries?
} // 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');
// Edit or delete button hit?
if (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_surfbar_actions');
+ doGenericXmlTemplateCallback('admin_edit_show_surfbar_actions');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of entries
- showEntriesByXmlCallback('admin_edit_do_surfbar_actions');
+ doGenericXmlTemplateCallback('admin_edit_do_surfbar_actions');
}
// Show entries?
} // END - if
// List all URLs
-showEntriesByXmlCallback('admin_list_surfbar_actions');
+doGenericXmlTemplateCallback('admin_list_surfbar_actions');
// [EOF]
?>
// Edit or delete button hit?
if (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_edit_show_surfbar_urls');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of entries
- showEntriesByXmlCallback('admin_edit_do_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_edit_do_surfbar_urls');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('admin_delete_show_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_delete_show_surfbar_urls');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_delete')) {
// Remove entries from database
- showEntriesByXmlCallback('admin_delete_do_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_delete_do_surfbar_urls');
} elseif (isFormSent('lock')) {
// Un-/lock selected URLs. This does not work for pending URLs
- showEntriesByXmlCallback('admin_lock_show_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_lock_show_surfbar_urls');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_lock')) {
// Un-/lock selected URLs. This does not work for pending URLs
- showEntriesByXmlCallback('admin_lock_do_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_lock_do_surfbar_urls');
} elseif (isFormSent('undelete')) {
// Undelete selected URLs. This does only work for deleted URLs... ;-)
- showEntriesByXmlCallback('admin_undelete_show_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_undelete_show_surfbar_urls');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_undelete')) {
// Undelete selected URLs. This does only work for deleted URLs... ;-)
- showEntriesByXmlCallback('admin_undelete_do_surfbar_urls');
+ doGenericXmlTemplateCallback('admin_undelete_do_surfbar_urls');
}
// Show entries?
} // END - if
// List all URLs
-showEntriesByXmlCallback('admin_list_surfbar_urls');
+doGenericXmlTemplateCallback('admin_list_surfbar_urls');
// [EOF]
?>
// Edit or delete button hit?
if (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('admin_edit_show_user_subid');
+ doGenericXmlTemplateCallback('admin_edit_show_user_subid');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of entries
- showEntriesByXmlCallback('admin_edit_do_user_subid');
+ doGenericXmlTemplateCallback('admin_edit_do_user_subid');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('admin_delete_show_user_subid');
+ doGenericXmlTemplateCallback('admin_delete_show_user_subid');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_delete')) {
// Remove entries from database
- showEntriesByXmlCallback('admin_delete_do_user_subid');
+ doGenericXmlTemplateCallback('admin_delete_do_user_subid');
} elseif (isFormSent('do_delete_stats')) {
// Remove entries from database
- showEntriesByXmlCallback('admin_delete_do_user_subid_stats');
+ doGenericXmlTemplateCallback('admin_delete_do_user_subid_stats');
} elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
// Construct module name
$incFile = sprintf("inc/modules/admin/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));
// Is a user id sent?
if (isGetRequestElementSet('userid')) {
// List all sub ids
- showEntriesByXmlCallback('admin_list_user_subid', array(
+ doGenericXmlTemplateCallback('admin_list_user_subid', array(
'userid' => bigintval(getRequestElement('userid'))
));
} else {
}
// List all pendingURLs
-showEntriesByXmlCallback('admin_unlock_surfbar_urls');
+doGenericXmlTemplateCallback('admin_unlock_surfbar_urls');
// [EOF]
?>
}
// List all entries
-showEntriesByXmlCallback('member_list_subid_stats');
+doGenericXmlTemplateCallback('member_list_subid_stats');
// [EOF]
?>
} // END - if
// Load XML template
-showEntriesByXmlCallback('member_list_booking');
+doGenericXmlTemplateCallback('member_list_booking');
// [EOF]
?>
// Edit or delete button hit?
if (isFormSent('add_subid')) {
// Add new sub id
- showEntriesByXmlCallback('member_add_do_user_subid');
+ doGenericXmlTemplateCallback('member_add_do_user_subid');
} elseif (isFormSent('edit')) {
// Show entries for editing
- showEntriesByXmlCallback('member_edit_show_user_subid');
+ doGenericXmlTemplateCallback('member_edit_show_user_subid');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_edit')) {
// Change data of entries
- showEntriesByXmlCallback('member_edit_do_user_subid');
+ doGenericXmlTemplateCallback('member_edit_do_user_subid');
} elseif (isFormSent('delete')) {
// Show entries for deletion
- showEntriesByXmlCallback('member_delete_show_user_subid');
+ doGenericXmlTemplateCallback('member_delete_show_user_subid');
// Do not show the list of URLs after this template
$show = FALSE;
} elseif (isFormSent('do_delete')) {
// Remove entries from database
- showEntriesByXmlCallback('member_delete_do_user_subid');
+ doGenericXmlTemplateCallback('member_delete_do_user_subid');
} elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
// Construct module name
$incFile = sprintf("inc/modules/member/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));
} // END - if
// List all campaigns
-showEntriesByXmlCallback('member_list_subid');
+doGenericXmlTemplateCallback('member_list_subid');
// Display form for adding a sub id
loadTemplate('member_add_subid');
}
// Calls back a function based on given XML template data
-function showEntriesByXmlCallback ($template, $content = array(), $compileCode = TRUE) {
+function doGenericXmlTemplateCallback ($template, $content = array(), $compileCode = TRUE) {
// Init XML system as sch calls will be only used once per run
initXml();
<!--
The actual data, again.
//-->
- <column-callback-data type="string" value="grade_parent_id" callback="generateAdminGradeSelectionBox" />
+ <column-callback-data type="string" value="grade_parent_id" callback="generateAdminGradeDataSelectionBox" />
<!--
More parameters, remember that the first parameter is always given
and that it is the data from column.