aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-16 15:06:19 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-16 15:06:19 +0000
commitcac0a2255a25eac04cd6586536bdffcc49b05088 (patch)
treeb7bb078e0d674148c54db97ab43410c501fa4c1f /phpBB/viewforum.php
parent686429389009fdbabe969c5916a3c07c89fc2dec (diff)
downloadforums-cac0a2255a25eac04cd6586536bdffcc49b05088.tar
forums-cac0a2255a25eac04cd6586536bdffcc49b05088.tar.gz
forums-cac0a2255a25eac04cd6586536bdffcc49b05088.tar.bz2
forums-cac0a2255a25eac04cd6586536bdffcc49b05088.tar.xz
forums-cac0a2255a25eac04cd6586536bdffcc49b05088.zip
make topic icon image width/height available to viewforum and search templates (Bug #15934)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8857 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 1325b15e4d..06b43a6d39 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -637,6 +637,9 @@ if (sizeof($topic_list))
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
'TOPIC_FOLDER_IMG_SRC' => $user->img($folder_img, $folder_alt, false, '', 'src'),
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
+ 'TOPIC_FOLDER_IMG_WIDTH'=> $user->img($folder_img, '', false, '', 'width'),
+ 'TOPIC_FOLDER_IMG_HEIGHT' => $user->img($folder_img, '', false, '', 'height'),
+
'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'] : '',