Olivier PEREZ
3166752410
admin: Display buttons to add or remove choice.
2014-12-21 00:45:39 +01:00
Olivier PEREZ
ff61cf6b91
admin: Copy fonctionnalities from studs.php
2014-12-21 00:29:51 +01:00
Olivier PEREZ
1a062a2a69
admin: Add availability to delete a vote.
2014-12-21 00:25:00 +01:00
Olivier PEREZ
b8d0110263
Remove code from old_adminstuds that is already refactored.
2014-12-21 00:14:56 +01:00
Olivier PEREZ
ce548da367
Rename delete_comment.tpl to delete_comments.tpl
2014-12-21 00:05:52 +01:00
Olivier PEREZ
26b0c08128
Fix filter_input call
2014-12-21 00:04:41 +01:00
Olivier PEREZ
45716d15c1
Display confirmation page before to delete all votes of one poll.
2014-12-21 00:04:23 +01:00
Olivier PEREZ
8d46ec6c33
Move all admin method from PollService to AdminPollService
2014-12-20 23:59:44 +01:00
Olivier PEREZ
94a125ca2b
Display confirmation page before to delete all comments of one poll.
2014-12-19 00:59:27 +01:00
Olivier PEREZ
3829402a69
Display a confirmation page before delete the poll (confirmation does nothing for now)
2014-12-19 00:47:56 +01:00
Olivier PEREZ
07d5a336fb
Add availability to delete all comments of one poll.
...
+ Simplify call to remove all votes of one poll
2014-12-19 00:36:09 +01:00
Olivier PEREZ
3d18c208ca
Check the number and the max of votes before displaying the best moments.
2014-12-19 00:30:43 +01:00
Olivier PEREZ
14727bd94c
admin: Add availability to delete all votes of a poll.
2014-12-19 00:30:33 +01:00
Olivier PEREZ
1b01bcc6b6
admin: Add availability to delete comments one by one.
2014-12-19 00:13:21 +01:00
Olivier PEREZ
178208380f
Change color of text-danger.
2014-12-19 00:12:19 +01:00
Olivier PEREZ
187c84074e
Display a different hint pane on admin page.
2014-12-18 23:57:38 +01:00
Olivier PEREZ
446bbece58
Add a missing $
2014-12-18 23:57:00 +01:00
Olivier PEREZ
8e15a008fe
adminstuds.php: Realize the update of poll in database
2014-12-18 13:57:25 +01:00
Olivier PEREZ
716efd6d58
UI : Add availability to edit poll status
2014-12-18 13:23:47 +01:00
Olivier PEREZ
04a60e5c57
Add shadow under the text on submit button
2014-12-18 13:12:28 +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
844315ada4
Recreate adminstuds.php with Smarty style (Work in progress)
2014-12-17 23:20:12 +01:00
Olivier PEREZ
7c5ba2eb17
Split parts of studs.tpl into severals sub-templates.
2014-12-17 23:12:05 +01:00
Olivier PEREZ
ceb6ae3bca
Remove old code + Add doc
2014-12-17 13:52:52 +01:00
Olivier PEREZ
9284a5d62b
Add licence informations on classes
2014-12-17 13:48:03 +01:00
Olivier PEREZ
ab5f9e013a
Implement comments functionnality
2014-12-17 13:47:14 +01:00
Olivier PEREZ
fcc478bb93
Add headers to th cells when editing vote
2014-12-17 13:39:12 +01:00
Olivier PEREZ
7837c01ba0
Fix form control when editing vote
2014-12-17 13:23:32 +01:00
Olivier PEREZ
8604cacc62
studs.php: Move global form just around votes table
2014-12-17 13:22:09 +01:00
Olivier PEREZ
37735e8298
Fix radio button 'no'
2014-12-17 13:18:59 +01:00
Olivier PEREZ
80b06d65cd
Some work on vote saving
2014-12-17 13:17:08 +01:00
Olivier PEREZ
e941cf1822
Add availability to edit a vote
2014-12-16 00:45:16 +01:00
Olivier PEREZ
db915b0bf1
Replace button to CSV export by a link
2014-12-16 00:02:34 +01:00
Olivier PEREZ
d54f2e4759
Improve usage of namespace + Create PollService in /Framadate/Service namespace
2014-12-16 00:02:01 +01:00
Olivier PEREZ
2480d441d4
Remove code in comment
2014-12-15 13:55:46 +01:00
Olivier PEREZ
ad5ea9c6ff
Display list of comments + Display form to add a comment
2014-12-15 13:49:25 +01:00
Olivier PEREZ
497762165f
studs.tpl: Remove 4 spaces to global indentation
2014-12-15 13:36:26 +01:00
Olivier PEREZ
ecfcae580b
Define base template : page.tpl
2014-12-15 13:33:39 +01:00
Olivier PEREZ
448a7c2d38
Clean tpl indentation
2014-12-15 13:29:27 +01:00
Olivier PEREZ
083c9eef2f
Add the display of Best Choices listing
2014-12-15 13:27:04 +01:00
Olivier PEREZ
ea105960b4
Add line to add vote + Add line to show best choices
2014-12-14 00:16:49 +01:00
Olivier PEREZ
fafa5393ed
studs.tpl : Add a Form convering the whole page
2014-12-12 13:51:13 +01:00
Olivier PEREZ
fcaea63b84
A big part of refactoring
...
* Use Smarty to split View and Controller on studs page (work in progress)
* Add field "active" to Poll
* And some other stuff...
2014-12-12 13:46:55 +01:00
Olivier PEREZ
3743ad55f1
Make add vote working
2014-12-07 23:12:08 +01:00
Olivier PEREZ
3d0e167e77
Clean a lot of adminstuds.php
2014-12-07 16:47:35 +01:00
Olivier PEREZ
46ea697cb6
Refactor on choix_autre.php
...
* Utils::issetAndNoEmpty is now removed
* Use Form object to store value from page to page
2014-12-06 19:42:01 +01:00
Olivier PEREZ
de04d47434
Minor changes on "constants.php.template"
2014-12-05 01:09:14 +01:00
Olivier PEREZ
fae91f6f3e
Refactor poll creation
...
* Rename fields in Sondage table
* Add field "editable" which tells when users can edit their votes
* PDO : Configure 2 options (FETCH_OBJ + ERRMODE_EX)
* "formatsondage" does contains "+" (or not) anymore
2014-12-05 01:08:38 +01:00