{if isset($smarty.request.moduleaction) && $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 isset($smarty.request.moduleaction) && $smarty.request.moduleaction == 'new'}
{#POLL_ADD_POLL#}
{else}
{#POLL_EDIT#}
{$row->poll_title|default:''}
{/if}
{if isset($smarty.request.id) && $smarty.request.id != ''}{#POLL_EDIT#}{else}{#POLL_ADD_POLL#}{/if}
{#POLL_NAME#}:
{#POLL_STATUS#}?
poll_status) && $row->poll_status == 1}checked{/if} value="1"/>
{#POLL_YES#}
poll_status) || $row->poll_status == 0}checked{/if} value="0" />
{#POLL_NO#}
{#POLL_CAN_COMMENT#}
poll_can_comment) && $row->poll_can_comment == 1}checked{/if} />
{#POLL_YES#}
poll_can_comment) || $row->poll_can_comment == 0}checked{/if} />
{#POLL_NO#}
{#POLL_ANTISPAM#}
poll_anti_spam) && $row->poll_anti_spam == 1}checked{/if} />
{#POLL_YES#}
poll_anti_spam) || $row->poll_anti_spam == 0}checked{/if} />
{#POLL_NO#}
{#POLL_START_TIME#}
{#POLL_END_TIME#}
{#POLL_USER_GROUPS#}
{#POLL_GROUP_INFO#}
{html_options options=$groups selected=$selected}
{if isset($smarty.request.id) && $smarty.request.id != ''}
{#POLL_QUESTIONS#}
{#POLL_QUESTION_NAME#}
{#POLL_QUESTION_COLOR#}
{#POLL_QUESTION_HITS#}
{if isset($items) && $items} {foreach from=$items item=item}
{/foreach} {else}
{#POLL_QUESTION_NO_ITEMS#}
{/if}
{/if}
{if isset($smarty.request.id) && $smarty.request.id != ''}
{#POLL_QUESTIONS_ADD#}
{#POLL_QUESTION_NAME#}
{#POLL_QUESTION_COLOR#}
{#POLL_QUESTION_HITS#}
{/if}