1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

ucp -> groups -> memberships

git-svn-id: file:///svn/phpbb/trunk@5202 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-08-19 10:56:46 +00:00
parent 9d825c0e20
commit 4b9215bd14
13 changed files with 456 additions and 160 deletions

View File

@@ -26,10 +26,11 @@ class ucp_attachments extends module
if ($delete && sizeof($delete_ids))
{
$s_hidden_fields = '<input type="hidden" name="delete" value="1" />';
$s_hidden_fields = array('delete' => 1);
foreach ($delete_ids as $attachment_id)
{
$s_hidden_fields .= '<input type="hidden" name="attachment[' . $attachment_id . ']" value="1" />';
$s_hidden_fields['attachment'][$attachment_id] = 1;
}
if (confirm_box(true))
@@ -44,7 +45,7 @@ class ucp_attachments extends module
}
else
{
confirm_box(false, (sizeof($delete_ids) == 1) ? 'DELETE_ATTACHMENT' : 'DELETE_ATTACHMENTS', $s_hidden_fields);
confirm_box(false, (sizeof($delete_ids) == 1) ? 'DELETE_ATTACHMENT' : 'DELETE_ATTACHMENTS', build_hidden_fields($s_hidden_fields));
}
}