Editing vote by link with unique id
- 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
Showing
- adminstuds.php 12 additions, 6 deletionsadminstuds.php
- app/classes/Framadate/Services/PollService.php 1 addition, 0 deletionsapp/classes/Framadate/Services/PollService.php
- app/classes/Framadate/Utils.php 12 additions, 5 deletionsapp/classes/Framadate/Utils.php
- app/inc/smarty.php 9 additions, 2 deletionsapp/inc/smarty.php
- htaccess.txt 13 additions, 0 deletionshtaccess.txt
- studs.php 8 additions, 4 deletionsstuds.php
- tpl/add_slot.tpl 1 addition, 1 deletiontpl/add_slot.tpl
- tpl/admin/polls.tpl 2 additions, 2 deletionstpl/admin/polls.tpl
- tpl/confirm/delete_comments.tpl 1 addition, 1 deletiontpl/confirm/delete_comments.tpl
- tpl/confirm/delete_poll.tpl 1 addition, 1 deletiontpl/confirm/delete_poll.tpl
- tpl/confirm/delete_votes.tpl 1 addition, 1 deletiontpl/confirm/delete_votes.tpl
- tpl/index.tpl 1 addition, 1 deletiontpl/index.tpl
- tpl/part/poll_info.tpl 5 additions, 5 deletionstpl/part/poll_info.tpl
- tpl/part/vote_table_classic.tpl 12 additions, 14 deletionstpl/part/vote_table_classic.tpl
- tpl/part/vote_table_date.tpl 5 additions, 5 deletionstpl/part/vote_table_date.tpl
Loading
Please register or sign in to comment