From 4b9215bd14bc72edeff20a40962d0bd89b21718e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 19 Aug 2005 10:56:46 +0000 Subject: ucp -> groups -> memberships git-svn-id: file:///svn/phpbb/trunk@5202 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_pm_options.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'phpBB/includes/ucp/ucp_pm_options.php') diff --git a/phpBB/includes/ucp/ucp_pm_options.php b/phpBB/includes/ucp/ucp_pm_options.php index 129c6cb84f..bb0a22102b 100644 --- a/phpBB/includes/ucp/ucp_pm_options.php +++ b/phpBB/includes/ucp/ucp_pm_options.php @@ -158,10 +158,12 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit trigger_error('CANNOT_REMOVE_FOLDER'); } - $s_hidden_fields = ''; - $s_hidden_fields .= ''; - $s_hidden_fields .= ''; - $s_hidden_fields .= ''; + $s_hidden_fields = array( + 'remove_folder_id' => $remove_folder_id, + 'remove_action' => $remove_action, + 'move_to' => $move_to, + 'remove_folder' => 1 + ); // Do we need to confirm? if (confirm_box(true)) @@ -226,7 +228,7 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit } else { - confirm_box(false, 'REMOVE_FOLDER', $s_hidden_fields); + confirm_box(false, 'REMOVE_FOLDER', build_hidden_fields($s_hidden_fields)); } } @@ -295,8 +297,6 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit redirect("{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=$mode"); } - $s_hidden_fields = ''; - // Do we need to confirm? if (confirm_box(true)) { @@ -314,7 +314,7 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit } else { - confirm_box(false, 'DELETE_RULE', $s_hidden_fields); + confirm_box(false, 'DELETE_RULE', build_hidden_fields(array('delete_rule' => array($delete_id => 1)))); } } -- cgit v1.2.1