diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-09-12 00:53:33 +0200 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-10-10 15:29:31 +0200 |
commit | 3937f1f4ae77b29faf69292783cc3ae267785ee4 (patch) | |
tree | f1764ac1f6c81f6b464e27665e73cf403644a7be /phpBB/includes/functions_posting.php | |
parent | 8f6b50922ffc7d6c55fdfecf09ccde293546db24 (diff) | |
download | forums-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/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 4206c87eb9..deac7bc91d 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -311,10 +311,10 @@ function posting_gen_topic_icons($mode, $icon_id) { $template->assign_block_vars('topic_icon', array( 'ICON_ID' => $id, - 'ICON_NAME' => $data['img'], 'ICON_IMG' => $root_path . $config['icons_path'] . '/' . $data['img'], 'ICON_WIDTH' => $data['width'], 'ICON_HEIGHT' => $data['height'], + 'ICON_ALT' => $data['alt'], 'S_CHECKED' => ($id == $icon_id) ? true : false, 'S_ICON_CHECKED' => ($id == $icon_id) ? ' checked="checked"' : '') |