{extends 'admin/admin_page.tpl'} {block 'admin_main'}
{if $poll_to_delete}

{_("Confirm removal of the poll ")}"{$poll_to_delete->id}"

{/if}

{$polls|count} {_('polls in the database at this time')} {if $log_file} {_('Logs')} {/if}

{foreach $polls as $poll} {if strtotime($poll->end_date) > time()} {else} {/if} {/foreach}
{_('Poll ID')} {_('Format')} {_('Title')} {_('Author')} {_('Email')} {_('Expiration\'s date')} {_('Users')} {_('Actions')}
{$poll->id} {if $poll->format === 'D'} { _('Date')} {else} {_('Classic')} {/if} {htmlentities($poll->title)} {htmlentities($poll->admin_name)} {htmlentities($poll->admin_mail)}{date('d/m/y', strtotime($poll->end_date))}{strtotime($poll->end_date)|date_format:'d/m/Y'}TODO {_('See the poll')} {_('Change the poll')}
{/block}