X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=data%2Ftemplates%2Fown_templates%2F1549950.tpl;fp=data%2Ftemplates%2Fown_templates%2F1549950.tpl;h=0fdad90323ff8e6b4861d897e2507afbe9def511;hb=28a0f9d30ba36c49c48b59cad22a855a0337161a;hp=0000000000000000000000000000000000000000;hpb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;p=mirrors%2FKyberia-bloodline.git diff --git a/data/templates/own_templates/1549950.tpl b/data/templates/own_templates/1549950.tpl new file mode 100644 index 0000000..0fdad90 --- /dev/null +++ b/data/templates/own_templates/1549950.tpl @@ -0,0 +1,18 @@ +{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} + \ No newline at end of file