diff --git a/tpl/admin/polls.tpl b/tpl/admin/polls.tpl index 10b659b..59414b0 100644 --- a/tpl/admin/polls.tpl +++ b/tpl/admin/polls.tpl @@ -16,60 +16,63 @@ {/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} -
{_('Title')}{_('Format')}{_('Author')}{_('Email')}{_('Expiration\'s date')}{_('Users')}{_('Poll ID')}{_('Actions')}
{$poll->title|html} - {if $poll->format === 'D'} - {_('Date')} - {else} - {_('Classic')} - {/if} - {$poll->admin_name|html}{$poll->admin_mail|html}{date('d/m/y', strtotime($poll->end_date))}{strtotime($poll->end_date)|date_format:'d/m/Y'}{$poll->votes|html}{$poll->id|html}{_('See the poll')}{_('Change the poll')}
- -
- {_('Pages:')} - {for $p=1 to $pages} - {if $p===$page} - {$p} - {else} - {$p} +
+
+ {$polls|count} {_('polls in the database at this time')} + {if $log_file} + {_('Logs')} {/if} - {/for} +
+ + + + + + + + + + + + + + {foreach $polls as $poll} + + + + + + + {if strtotime($poll->end_date) > time()} + + {else} + + {/if} + + + + + + + {/foreach} +
{_('Title')}{_('Format')}{_('Author')}{_('Email')}{_('Expiration\'s date')}{_('Users')}{_('Poll ID')}{_('Actions')}
{$poll->title|html} + {if $poll->format === 'D'} + {_('Date')} + {else} + {_('Classic')} + {/if} + {$poll->admin_name|html}{$poll->admin_mail|html}{date('d/m/y', strtotime($poll->end_date))}{strtotime($poll->end_date)|date_format:'d/m/Y'}{$poll->votes|html}{$poll->id|html}{_('See the poll')}{_('Change the poll')}
+ +
+ {_('Pages:')} + {for $p=1 to $pages} + {if $p===$page} + {$p} + {else} + {$p} + {/if} + {/for} +
{/block} \ No newline at end of file