@@ 76-79 (lines=4) @@ | ||
73 | ||
74 | echo CHtml::link('<i class="'.$button['icon'].'"></i>', $url, $options); |
|
75 | } |
|
76 | else if (isset($button['imageUrl']) && is_string($button['imageUrl'])) |
|
77 | echo CHtml::link(CHtml::image($button['imageUrl'], $label), $url, $options); |
|
78 | else |
|
79 | echo CHtml::link($label, $url, $options); |
|
80 | } |
|
81 | } |
|
82 |
@@ 250-253 (lines=4) @@ | ||
247 | $options = isset($button['options']) ? $button['options'] : array(); |
|
248 | if( !isset($options['title']) ) |
|
249 | $options['title'] = $label; |
|
250 | if( isset($button['imageUrl']) && is_string($button['imageUrl']) ) |
|
251 | echo CHtml::link(CHtml::image($button['imageUrl'], $label), $url, $options); |
|
252 | else |
|
253 | echo CHtml::link($label, $url, $options); |
|
254 | } |
|
255 | ||
256 | /** |