aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_options.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-08-19 10:56:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-08-19 10:56:46 +0000
commit4b9215bd14bc72edeff20a40962d0bd89b21718e (patch)
tree554c9a7a023392148772c75fd887d7fecf6ba2c8 /phpBB/includes/ucp/ucp_pm_options.php
parent9d825c0e200de129c84df55fe8d77ad2964bd2c1 (diff)
downloadforums-4b9215bd14bc72edeff20a40962d0bd89b21718e.tar
forums-4b9215bd14bc72edeff20a40962d0bd89b21718e.tar.gz
forums-4b9215bd14bc72edeff20a40962d0bd89b21718e.tar.bz2
forums-4b9215bd14bc72edeff20a40962d0bd89b21718e.tar.xz
forums-4b9215bd14bc72edeff20a40962d0bd89b21718e.zip
ucp -> groups -> memberships
git-svn-id: file:///svn/phpbb/trunk@5202 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_options.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_options.php16
1 files changed, 8 insertions, 8 deletions
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 = '<input type="hidden" name="remove_folder_id" value="' . $remove_folder_id . '" />';
- $s_hidden_fields .= '<input type="hidden" name="remove_action" value="' . $remove_action . '" />';
- $s_hidden_fields .= '<input type="hidden" name="move_to" value="' . $move_to . '" />';
- $s_hidden_fields .= '<input type="hidden" name="remove_folder" value="1" />';
+ $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&amp;i=pm&amp;mode=$mode");
}
- $s_hidden_fields = '<input type="hidden" name="delete_rule[' . $delete_id . ']" value="1" />';
-
// 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))));
}
}