Commit Graph

25 Commits

Author SHA1 Message Date
Olivier Perez
f6be93840d Fix for PHP5.4 2015-04-15 13:23:19 +02:00
Olivier Perez
3fb351dbce Don't display description on studs.php if the field is blank 2015-04-15 13:16:55 +02:00
Olivier PEREZ
d14a7ec35d Some style on poll info 2015-04-14 22:43:04 +02:00
Olivier PEREZ
22e1ee1c40 Reorganize admin name, admin mail and description in poll info block 2015-04-11 18:08:18 +02:00
Antonin
a135f74383 Hidden results option is taken into account.
- Also added possibility for the poll's maker to edit this hidden results option.
2015-04-06 12:40:59 +02:00
Antonin
a3f5763edd New edition possibility is taken into account
- Also added Framadate\Message à link attribute
	- Added local anchor #edit with vote edition
	- For now, when the poll owner check the new edit option (ie: "Votes are editable solely by their owner"), users get their update link on vote creation
2015-04-05 17:44:29 +02:00
Antonin
4c137748b4 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
2015-04-02 16:56:52 +02:00
Olivier PEREZ
6d34631fbf Replace calls to __('Section\Key') with __('Section', 'Key') 2015-03-30 15:19:56 +02:00
Olivier PEREZ
a19e7c48bb Fix missing key about Expiration date 2015-03-26 00:20:48 +01:00
Olivier PEREZ
119d0e01e1 Start changing the i18n system.
* Now works on windows servers
* Byebye .po/.mo, welcome .json
* Byebye old gettext library, welcome o80-i18n
2015-03-22 23:33:03 +01:00
Olivier PEREZ
0efc3d4bcc Fix the update of poll infos 2015-03-18 00:46:19 +01:00
Olivier PEREZ
b051dd59f8 Implement purge in 2 steps
First: Block the poll (no more modification)
Second: Delete the poll 60 days after the expiration date (configurable)
2015-02-28 19:18:59 +01:00
Olivier PEREZ
08a3fe1b69 Escape html for all bound variables from .tpl files 2015-01-11 14:59:25 +01:00
Olivier PEREZ
8f0e27cb86 Add new labels 2015-01-08 22:18:30 +01:00
Olivier PEREZ
6f7c911bae Issue #26 Admin can change the name of initiator of the poll 2015-01-08 22:18:28 +01:00
Olivier PEREZ
924bd1ed1a Issue #26 Poll admin can change expiration date 2015-01-08 22:18:27 +01:00
Olivier PEREZ
73a5bd3615 Fix label "for" attribute 2015-01-08 22:18:26 +01:00
Olivier PEREZ
15e5b40877 Hide some useless elements when printing 2015-01-04 02:00:02 +01:00
Olivier PEREZ
985842edf3 CSV Export: Implements export for classical polls 2015-01-03 19:06:03 +01:00
Olivier PEREZ
446bbece58 Add a missing $ 2014-12-18 23:57:00 +01:00
Olivier PEREZ
716efd6d58 UI : Add availability to edit poll status 2014-12-18 13:23:47 +01:00
Olivier PEREZ
cf207052f5 UI : Add availability to edit poll description + admin mail 2014-12-18 13:08:30 +01:00
Olivier PEREZ
94380c6182 UI : Add availability to edit poll title 2014-12-18 12:47:51 +01:00
Olivier PEREZ
410d2127ce admin: Add some work to poll information pane. 2014-12-17 23:43:06 +01:00
Olivier PEREZ
7c5ba2eb17 Split parts of studs.tpl into severals sub-templates. 2014-12-17 23:12:05 +01:00