Available variables:
$icon: The icon to display. May be one of 'hot', 'hot-new', 'new', 'default', 'closed', or 'sticky'.

I cannot find this variable in the template.

CommentFileSizeAuthor
#1 forum_icon.patch571 bytesdroplet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

droplet’s picture

Priority: Major » Normal
Status: Active » Needs review
Issue tags: +Quick fix
FileSize
571 bytes

$icon is not there, instead $icon_class

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Good catch! You can see this being defined in template_preprocess_forum_icon(). It is definitely adding a variable for $icon_class not $icon. The choices in the original doc (unchanged in the patch) are also confirmed to be correct.

Thanks!

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

Automatically closed -- issue fixed for 2 weeks with no activity.