{include file='header.tpl'} {* $Id: poll.tpl 162 2009-04-30 01:43:11Z john $ *}
{* JAVASCRIPT FOR POLLS *} {lang_javascript ids=2500028,2500034,2500114,2500115} {literal} {/literal} {* POLL RESULTS TEMPLATE *}
{* SHOW THIS POLL *}
{* TITLE AND DESCRIPTION *}
{$poll_object->poll_info.poll_title|truncate:75:"...":true}
{capture name=totalVotesCode}{$poll_object->poll_info.poll_totalvotes}{/capture} {lang_sprintf id=2500029 1=$datetime->cdate("`$setting.setting_dateformat`", $datetime->timezone("`$poll_object->poll_info.poll_datecreated`", $global_timezone))} {lang_sprintf id=2500028 1=$smarty.capture.totalVotesCode}, {lang_sprintf id=507 1=$total_comments}, {lang_sprintf id=2500122 1=$poll_object->poll_info.poll_views}
{$poll_object->poll_info.poll_desc|choptext:120:"
"}
{* RESULTS *} {* OPTIONS *}
{counter start=-1 print=0} {section name=options_loop loop=$poll_object->poll_info.poll_options}
{/section}
{* VOTE OR VIEW *}
{if $user->level_info.level_poll_allow & 2}{lang_print id=2500030} |{/if} {lang_print id=2500032}
{* VOTE OR VIEW *}

{lang_sprintf id=2500033 1=$owner->user_displayname}     {lang_block id=861 var=langBlockTemp}{$langBlockTemp}{/lang_block}

{* DISPLAY POST COMMENT BOX *}
{if $allowed_to_comment}
Comments ({$total_comments|default:0})
Allowed HTML Tags: b, img, a, br
{/if}
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071} {literal} {/literal}
{include file='footer.tpl'}