aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-09-12 00:53:33 +0200
committerZoddo <zoddo.ino@gmail.com>2015-10-10 15:29:31 +0200
commit3937f1f4ae77b29faf69292783cc3ae267785ee4 (patch)
treef1764ac1f6c81f6b464e27665e73cf403644a7be /phpBB/viewtopic.php
parent8f6b50922ffc7d6c55fdfecf09ccde293546db24 (diff)
downloadforums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.gz
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.bz2
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.xz
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.zip
[ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index b9cb226920..b446567c5f 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1885,6 +1885,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'POST_ICON_IMG' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['img'] : '',
'POST_ICON_IMG_WIDTH' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['width'] : '',
'POST_ICON_IMG_HEIGHT' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['height'] : '',
+ 'POST_ICON_IMG_ALT' => ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['alt'] : '',
'ONLINE_IMG' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')),
'S_ONLINE' => ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false),