X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=data%2Ftemplates%2Fown_templates%2F1549834.tpl;fp=data%2Ftemplates%2Fown_templates%2F1549834.tpl;h=de6b195efaaf1a4574a4d15695218bd1eb2fcf8b;hb=8ab498a1ff528bf9a7251ccc94a79ae86774fbca;hp=0000000000000000000000000000000000000000;hpb=2f9b488531ea667d5d2790e671dbe6e058c7ebd2;p=mirrors%2FKyberia-bloodline.git diff --git a/data/templates/own_templates/1549834.tpl b/data/templates/own_templates/1549834.tpl new file mode 100644 index 0000000..de6b195 --- /dev/null +++ b/data/templates/own_templates/1549834.tpl @@ -0,0 +1,17 @@ + +{if $poll_id eq true}{get_poll poll_id=$poll_id} +{else}{get_poll}{/if} + +{if $get_poll.question eq true} + + +{foreach from=$get_poll.options item=option name=poll_option} + +{/foreach} + +
{$get_poll.question}
{if $get_poll.voted eq 'yes'}{$option.text}{else} +
{$option.text} 
{/if}
+
{math equation="(x/y)*100" format="%.1f" x=$option.number y=$get_poll.total}%
{$get_poll.total} voted
+{/if} + +