Admin: Fix links of polls list pagination

This commit is contained in:
Olivier PEREZ 2015-03-24 00:26:43 +01:00
parent 659cf997b8
commit bd7c401a83

View File

@ -64,9 +64,9 @@
{__('Admin\\Pages:')}
{for $p=1 to $pages}
{if $p===$page}
<a href="{$SERVER_URL}{$SCRIPT_NAME}?page={$p}" class="btn btn-danger" disabled="disabled">{$p}</a>
<a href="{$SERVER_URL}admin/polls.php?page={$p}" class="btn btn-danger" disabled="disabled">{$p}</a>
{else}
<a href="{$SERVER_URL}{$SCRIPT_NAME}?page={$p}" class="btn btn-info">{$p}</a>
<a href="{$SERVER_URL}admin/polls.php?page={$p}" class="btn btn-info">{$p}</a>
{/if}
{/for}
</div>