1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/components/vote/vote.info.tpl
Denis Shakhov c31a235423 Компоненты специфичные для lscms перенесены во frontend/components
Остальные перенесены во фреймворк
2015-01-31 19:16:15 +07:00

18 lines
545 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Информация о голосовании
*
* @param object $target
*}
{$component = 'vote-info'}
{$target = $smarty.local.target}
<ul class="{$component}">
<li><i class="icon-plus icon-white"></i> {$target->getCountVoteUp()}</li>
<li><i class="icon-minus icon-white"></i> {$target->getCountVoteDown()}</li>
<li><i class="icon-eye-open icon-white"></i> {$target->getCountVoteAbstain()}</li>
<li><i class="icon-asterisk icon-white"></i> {$target->getCountVote()}</li>
{hook run='topic_show_vote_stats' topic=$target}
</ul>