diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-10-10 16:43:15 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-10-10 16:43:15 +0200 |
commit | d1b7101fedd4511d793c907258604a8eda45fe03 (patch) | |
tree | f491e1eed6aea5c14eeb72b4f24433fe00f55f92 /phpBB/includes/functions_posting.php | |
parent | 6ebadee5d0a6143079a22f3aa607127acaeb81cd (diff) | |
parent | 3937f1f4ae77b29faf69292783cc3ae267785ee4 (diff) | |
download | forums-d1b7101fedd4511d793c907258604a8eda45fe03.tar forums-d1b7101fedd4511d793c907258604a8eda45fe03.tar.gz forums-d1b7101fedd4511d793c907258604a8eda45fe03.tar.bz2 forums-d1b7101fedd4511d793c907258604a8eda45fe03.tar.xz forums-d1b7101fedd4511d793c907258604a8eda45fe03.zip |
Merge pull request #3896 from Zoddo/ticket/14157
[ticket/14157] Allow to set the alt/title attribute on post icons
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 8b17dba534..19756d97b4 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"' : '') |