aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/groupcp.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-18 01:41:09 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-18 01:41:09 +0000
commitbfa98e0e3a56f75425c8348fbbd37208dfdefe60 (patch)
tree56b350fb8a2ea41ba719747eb9d856b3f7e364ea /phpBB/groupcp.php
parent8da0c99f4a0fe3824e3619c515c9adde0c64b315 (diff)
downloadforums-bfa98e0e3a56f75425c8348fbbd37208dfdefe60.tar
forums-bfa98e0e3a56f75425c8348fbbd37208dfdefe60.tar.gz
forums-bfa98e0e3a56f75425c8348fbbd37208dfdefe60.tar.bz2
forums-bfa98e0e3a56f75425c8348fbbd37208dfdefe60.tar.xz
forums-bfa98e0e3a56f75425c8348fbbd37208dfdefe60.zip
Fixed various problems preventing updates of group status, etc.
git-svn-id: file:///svn/phpbb/trunk@1354 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/groupcp.php')
-rw-r--r--phpBB/groupcp.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php
index 323fa94dca..cf13ce9e57 100644
--- a/phpBB/groupcp.php
+++ b/phpBB/groupcp.php
@@ -672,7 +672,6 @@ else if( $group_id )
"S_GROUP_OPEN_CHECKED" => ( $group_info['group_type'] == GROUP_OPEN ) ? "checked=\"checked\"" : "",
"S_GROUP_CLOSED_CHECKED" => ( $group_info['group_type'] == GROUP_CLOSED ) ? "checked=\"checked\"" : "",
"S_GROUP_HIDDEN_CHECKED" => ( $group_info['group_type'] == GROUP_HIDDEN ) ? "checked=\"checked\"" : "",
- "S_GROUP_INFO_ACTION" => append_sid("groupcp.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
@@ -704,7 +703,7 @@ else if( $group_id )
"S_MODE_SELECT" => $select_sort_mode,
"S_ORDER_SELECT" => $select_sort_order,
- "S_MODE_ACTION" => append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id"))
+ "S_GROUPCP_ACTION" => append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id"))
);
for($i = 0; $i < $members_count; $i++)
@@ -793,7 +792,7 @@ else if( $group_id )
}
else
{
- if( $group_info['group_type'] != GROUP_HIDDEN || $is_group_member )
+ if( $group_info['group_type'] != GROUP_HIDDEN || $is_group_member || $is_moderator )
{
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
@@ -841,7 +840,7 @@ else if( $group_id )
);
}
- if( $group_info['group_type'] == GROUP_HIDDEN && !$is_group_member )
+ if( $group_info['group_type'] == GROUP_HIDDEN && !$is_group_member && !$is_moderator )
{
//
// No group members
@@ -959,9 +958,7 @@ else if( $group_id )
$template->assign_vars(array(
"L_SELECT" => $lang['Select'],
"L_APPROVE_SELECTED" => $lang['Approve_selected'],
- "L_DENY_SELECTED" => $lang['Deny_selected'],
-
- "S_PENDING_ACTION" => append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $group_id))
+ "L_DENY_SELECTED" => $lang['Deny_selected'])
);
$template->assign_var_from_handle("PENDING_USER_BOX", "pendinginfo");