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
Olivier PEREZ
b41607a165
Redirect poll creator to administration of created poll
2014-12-04 20:53:16 +01:00
Olivier PEREZ
1437eaf47e
Refactoring some code:
...
* Store all informations about forms into an object "Form" stored in $_SESSION['form']
* Replace connection to database by PDO object
* Check if database is ready in bandeaux.php file
2014-12-03 21:08:08 +01:00
JosephK
514369387b
Merge branch 'bugfix' into 'master'
...
Bugfix
- champ horaire ajouté à la bonne taille
- titre meilleur choix
- retouches css
- fix déplacement du formulaire de vote au scroll (mais toujours un problème à la navigation clavier)
See merge request !15
2014-11-18 18:44:49 +01:00
FramaJosephK
ef8eaafd27
Ajout d'horaires en taille sm + titre meilleur choix
2014-11-18 18:38:00 +01:00
FramaJosephK
4654929746
Ajout d'horaires en taille sm + titre meilleur choix
2014-11-18 18:20:19 +01:00
JosephK
a1cdbf4e73
Merge branch 'master' into 'master'
...
adaptation Windows + Correction bugs
- Adaptations du code pour fonctionner sur Windows (bascule entre langages notamment qui ne fonctionnait pas chez moi)
- corrections de petits bugs (affichage de warning, encodage UTF-8)
See merge request !14
2014-11-18 16:43:37 +01:00
Bob Le Bricodeur
293d813b62
warning correction :
...
Warning: max(): Array must contain at least one element in "studs.php" on line 615
2014-11-15 02:47:30 +01:00
Bob Le Bricodeur
c1c337142c
several warning displayed : A non well formed numeric value encountered in "studs.php"
...
remove all displayed warning by splitting day and hour in $current variable
2014-11-15 02:41:20 +01:00
Bob Le Bricodeur
bae0054b77
several warning displayed : "A non well formed numeric value encountered in adminstuds.php"
...
remove all displayed warning by splitting day and hour in $current variable
2014-11-15 02:39:02 +01:00
Bob Le Bricodeur
8910c69495
UTF8_encode(removal date) for date poll
2014-11-15 01:40:59 +01:00
Bob Le Bricodeur
67b72e5b06
remove warning "unknown index horaire0" one first access to choix_date.php
2014-11-15 01:38:23 +01:00
Bob Le Bricodeur
52f4210726
reuse condition from choix_autre.php for Step 1 validation
2014-11-15 01:27:38 +01:00
Bob Le Bricodeur
af54981cf6
correction warning pour acces $config[use_smtp] depuis adminstuds.php
2014-11-15 00:59:33 +01:00
Bob Le Bricodeur
5d981cb717
UTF8 encode on Removal date for French chars on Months
2014-11-15 00:50:27 +01:00
Bob Le Bricodeur
0239dd0735
Add environment variable to be able to switch between languages using Windows
2014-11-15 00:46:55 +01:00