X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fdata%2Ftemplates%2Fown_templates%2F1549950.tpl;fp=wwwroot%2Fdata%2Ftemplates%2Fown_templates%2F1549950.tpl;h=0fdad90323ff8e6b4861d897e2507afbe9def511;hb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;hp=0000000000000000000000000000000000000000;hpb=dcee763368a1e3f380d07320a5254d91a09304e6;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/data/templates/own_templates/1549950.tpl b/wwwroot/data/templates/own_templates/1549950.tpl new file mode 100644 index 0000000..0fdad90 --- /dev/null +++ b/wwwroot/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