{if $smarty.request.moduleaction == 'new'}
{#POLL_ADD_POLL#}
{#POLL_NEW_INFO#}
{else}
{#POLL_EDIT#}
{#POLL_EDIT_INFO#}
{/if}
{#MAIN_PAGE#}
{#MODULES_SUB_TITLE#}
{#POLL_MODULE_NAME#}
{if $smarty.request.moduleaction == 'new'}
{#POLL_ADD_POLL#}
{else}
{#POLL_EDIT#}
{$row->poll_title|default:''}
{/if}
{if $smarty.request.id != ''}{#POLL_EDIT#}{else}{#POLL_ADD_POLL#}{/if}
{#POLL_NAME#}:
{#POLL_STATUS#}?
poll_status==1}checked{/if} value="1"/>
{#POLL_YES#}
poll_status==0}checked{/if} value="0" />
{#POLL_NO#}
{#POLL_CAN_COMMENT#}
poll_can_comment==1}checked{/if} />
{#POLL_YES#}
poll_can_comment==0}checked{/if} />
{#POLL_NO#}
{#POLL_START_TIME#}
{#POLL_END_TIME#}
{#POLL_USER_GROUPS#}
{#POLL_GROUP_INFO#}
{html_options options=$groups selected=$selected}
{if $smarty.request.id != ''}
{#POLL_QUESTIONS#}
{#POLL_QUESTION_NAME#}
{#POLL_QUESTION_COLOR#}
{#POLL_QUESTION_HITS#}
{if $items} {foreach from=$items item=item}
{/foreach} {else}
{#POLL_QUESTION_NO_ITEMS#}
{/if}
{/if}
{if $smarty.request.id != ''}
{#POLL_QUESTIONS_ADD#}
{#POLL_QUESTION_NAME#}
{#POLL_QUESTION_COLOR#}
{#POLL_QUESTION_HITS#}
{/if}