X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_user_subid.php;h=6da574df143aa1b06723be01fcb019a9f1122c63;hp=d655ed3d7c50598c3217bcbf8125b8ae38d88a1f;hb=7052cc3bd3ca07281078acbbce6ce595d753def1;hpb=e91b46ac59679cee1644aa6eb947b490b0ecd9ef diff --git a/inc/modules/admin/what-list_user_subid.php b/inc/modules/admin/what-list_user_subid.php index d655ed3d7c..6da574df14 100644 --- a/inc/modules/admin/what-list_user_subid.php +++ b/inc/modules/admin/what-list_user_subid.php @@ -58,25 +58,35 @@ if ((countRequestPost() > 0) && (!ifPostContainsSelections('id')) && (!ifPostCon // Edit or delete button hit? if (isFormSent('edit')) { // Show entries for editing - doGenericXmlTemplateCallback('admin_edit_show_user_subid'); + doGenericXmlTemplateCallback('admin_edit_show_user_subid', array( + 'userid' => bigintval(getRequestElement('userid')) + )); // Do not show the list of URLs after this template $show = FALSE; } elseif (isFormSent('do_edit')) { // Change data of entries - doGenericXmlTemplateCallback('admin_edit_do_user_subid'); + doGenericXmlTemplateCallback('admin_edit_do_user_subid', array( + 'userid' => bigintval(getRequestElement('userid')) + )); } elseif (isFormSent('delete')) { // Show entries for deletion - doGenericXmlTemplateCallback('admin_delete_show_user_subid'); + doGenericXmlTemplateCallback('admin_delete_show_user_subid', array( + 'userid' => bigintval(getRequestElement('userid')) + )); // Do not show the list of URLs after this template $show = FALSE; } elseif (isFormSent('do_delete')) { // Remove entries from database - doGenericXmlTemplateCallback('admin_delete_do_user_subid'); + doGenericXmlTemplateCallback('admin_delete_do_user_subid', array( + 'userid' => bigintval(getRequestElement('userid')) + )); } elseif (isFormSent('do_delete_stats')) { // Remove entries from database - doGenericXmlTemplateCallback('admin_delete_do_user_subid_stats'); + doGenericXmlTemplateCallback('admin_delete_do_user_subid_stats', array( + 'userid' => bigintval(getRequestElement('userid')) + )); } elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) { // Construct module name $incFile = sprintf("inc/modules/admin/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));