4c137748b4
- Changed the smarty modifier poll_url to a function and added the vote_id parameter - Modified accordingly all poll_url occurence in templates - Added htaccess.txt to be sure to keep poll's URL changes up to date - Escaped some templates output in order to avoid to broke HTML - Using vote's uniqId instead of vote's id when it's needed
11 lines
553 B
Smarty
11 lines
553 B
Smarty
{extends file='page.tpl'}
|
|
|
|
{block name=main}
|
|
<form action="{poll_url id=$admin_poll_id admin=true}" method="POST">
|
|
<div class="alert alert-danger text-center">
|
|
<h2>{__('adminstuds', 'Confirm removal of all votes of the poll')}</h2>
|
|
<p><button class="btn btn-default" type="submit" name="cancel">{__('adminstuds', 'Keep votes')}</button>
|
|
<button type="submit" name="confirm_remove_all_votes" class="btn btn-danger">{__('adminstuds', 'Remove the votes')}</button></p>
|
|
</div>
|
|
</form>
|
|
{/block} |