aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/auth.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-26 18:41:26 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-26 18:41:26 +0000
commitfc295f5f0eef6b761c7c2d825bc01501e8882a25 (patch)
tree8a2b6d3519dffe95bb03422ecdfe58d90a45eeff /phpBB/includes/acp/auth.php
parent78f16d70a292afee3470710669d4082d5b6212eb (diff)
downloadforums-fc295f5f0eef6b761c7c2d825bc01501e8882a25.tar
forums-fc295f5f0eef6b761c7c2d825bc01501e8882a25.tar.gz
forums-fc295f5f0eef6b761c7c2d825bc01501e8882a25.tar.bz2
forums-fc295f5f0eef6b761c7c2d825bc01501e8882a25.tar.xz
forums-fc295f5f0eef6b761c7c2d825bc01501e8882a25.zip
checking in some fixes. ;) Most of them are really minor, including:
- correctly enter report notification into db - fix double-quote pm issue git-svn-id: file:///svn/phpbb/trunk@7409 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r--phpBB/includes/acp/auth.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 10f5633f1e..ce6a08bf0b 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -556,35 +556,9 @@ class auth_admin extends auth
$s_role_options = '<option value="0"' . ((!$current_role_id) ? ' selected="selected"' : '') . ' title="' . htmlspecialchars($user->lang['NO_ROLE_ASSIGNED_EXPLAIN']) . '">' . $user->lang['NO_ROLE_ASSIGNED'] . '</option>' . $s_role_options;
}
- if (!$forum_id)
- {
- $folder_image = '';
- }
- else
- {
- if ($forum_names_ary[$forum_id]['forum_status'] == ITEM_LOCKED)
- {
- $folder_image = '<img src="images/icon_folder_lock_small.gif" alt="' . $user->lang['FORUM_LOCKED'] . '" />';
- }
- else
- {
- switch ($forum_names_ary[$forum_id]['forum_type'])
- {
- case FORUM_LINK:
- $folder_image = '<img src="images/icon_folder_link_small.gif" width="22" height="18" alt="' . $user->lang['FORUM_LINK'] . '" />';
- break;
-
- default:
- $folder_image = ($forum_names_ary[$forum_id]['left_id'] + 1 != $forum_names_ary[$forum_id]['right_id']) ? '<img src="images/icon_folder_sub_small.gif" width="22" height="18" alt="' . $user->lang['SUBFORUM'] . '" />' : '<img src="images/icon_folder_small.gif" alt="' . $user->lang['FOLDER'] . '" />';
- break;
- }
- }
- }
-
$template->assign_block_vars($tpl_pmask . '.' . $tpl_fmask, array(
'NAME' => ($forum_id == 0) ? $forum_names_ary[0] : $forum_names_ary[$forum_id]['forum_name'],
'PADDING' => ($forum_id == 0) ? '' : $forum_names_ary[$forum_id]['padding'],
- 'FOLDER_IMAGE' => $folder_image,
'S_ROLE_OPTIONS' => $s_role_options,
'UG_ID' => $ug_id,
'FORUM_ID' => $forum_id)