crisu83/yiistrap — pull request #269 by Residentfoul (2014-08-27 12:07:32+00:00)
Title: Pass iconOptions in TbHtml::menu() to icon() function

As stated in the title, the iconOptions are not passed to the icon() function in the menu function of TbHtml. Yet this is required for setting icon colors of navBars.

The following change in the menu() function :

//added $options parameter in icon() call to allow for icon coloration
if (!empty($icon)) {
$label = self::icon($icon,$options) . ' ' . $label;
}

Not sure whether i chose the right branches for my pull request though.

Thanks for the awesome work guys.