mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
ok, maybe now?
test new sf infrastructure again, now using the syncmail script in out cvsroot directory git-svn-id: file:///svn/phpbb/trunk@5896 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e18efcf810
commit
4b247a5054
1 changed files with 9 additions and 5 deletions
|
@ -141,13 +141,17 @@ switch ($mode)
|
|||
$which_row = (in_array($row['user_id'], $admin_id_ary)) ? 'admin' : 'mod';
|
||||
|
||||
$s_forum_select = '';
|
||||
if ($which_row == 'mod' && sizeof(array_diff(array_keys($forums), $forum_id_ary[$row['user_id']])))
|
||||
|
||||
if (isset($forum_id_ary[$row['user_id']))
|
||||
{
|
||||
foreach ($forum_id_ary[$row['user_id']] as $forum_id)
|
||||
if ($which_row == 'mod' && sizeof(array_diff(array_keys($forums), $forum_id_ary[$row['user_id']])))
|
||||
{
|
||||
if (isset($forums[$forum_id]) && $auth->acl_get('f_list', $forum_id))
|
||||
foreach ($forum_id_ary[$row['user_id']] as $forum_id)
|
||||
{
|
||||
$s_forum_select .= '<option value="">' . $forums[$forum_id] . '</option>';
|
||||
if (isset($forums[$forum_id]) && $auth->acl_get('f_list', $forum_id))
|
||||
{
|
||||
$s_forum_select .= '<option value="">' . $forums[$forum_id] . '</option>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue