diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-11 21:32:22 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-04-11 21:32:22 +0000 |
| commit | d92380657d555a3f8267652183d02e2aae87511a (patch) | |
| tree | d5e94c57f53ea2ff8fdbda08bf0d9b6692021eba /phpBB/viewforum.php | |
| parent | 557d09bb72f7e9848b6fc50ed4e2ba651b89e743 (diff) | |
| download | forums-d92380657d555a3f8267652183d02e2aae87511a.tar forums-d92380657d555a3f8267652183d02e2aae87511a.tar.gz forums-d92380657d555a3f8267652183d02e2aae87511a.tar.bz2 forums-d92380657d555a3f8267652183d02e2aae87511a.tar.xz forums-d92380657d555a3f8267652183d02e2aae87511a.zip | |
- made path information available to template (T_)
- eased topic/post icon in templates (removing hardcoded img)
- added S_FIRST_ROW and S_LAST_ROW to template engine
git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 14cae34d18..075719393c 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -446,7 +446,9 @@ if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16) 'LAST_POST_IMG' => $user->img('icon_post_latest', 'VIEW_LATEST_POST'), 'NEWEST_POST_IMG' => $newest_post_img, 'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt), - 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? '<img src="' . $config['icons_path'] . '/' . $icons[$row['icon_id']]['img'] . '" width="' . $icons[$row['icon_id']]['width'] . '" height="' . $icons[$row['icon_id']]['height'] . '" alt="" title="" />' : '', + 'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '', + 'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '', + 'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '', 'ATTACH_ICON_IMG' => ($auth->acl_gets('f_download', 'u_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_attach', sprintf($user->lang['TOTAL_ATTACHMENTS'], $row['topic_attachment'])) : '', 'S_TOPIC_TYPE' => $row['topic_type'], |
