Last change
on this file since 8946 was
8946,
checked in by tiico, 13 years ago
|
Prepare v2.0.0 for Concours photo plugin :
- Add exaequo checking for the result (beta)
- Add EN language
- Correct "concours not displayed" when no group is selected in admin page. Now, concours is available for all registered user (not depending on the group appartenance)
- Add option to allow author to vote for their photos (disable check based on username=authorname)
- Add option to allow user to change the score after a validation
- Add to guest the possibility to vote for a concours (BETA)
- Some correction (code and database structure)
|
File size:
2.3 KB
|
Line | |
---|
1 | <div class="titrePage"> |
---|
2 | <h2>Concours</h2> |
---|
3 | </div> |
---|
4 | <p> |
---|
5 | {'concours_admin_title'|@translate} |
---|
6 | </p> |
---|
7 | <form method="post" action="" class="general"> |
---|
8 | <fieldset> |
---|
9 | <legend>{'concours_params'|@translate}</legend> |
---|
10 | <TABLE border="0" CELLPADDING="2" ALIGN="LEFT"> |
---|
11 | |
---|
12 | <TR> |
---|
13 | <TD colspan="2"> |
---|
14 | <input type="checkbox" name="active_menubar" {$SHOW_MENUBAR}/> {'concours_show_menubar'|@translate} |
---|
15 | <br/> |
---|
16 | </TD> |
---|
17 | </TR> |
---|
18 | <TR> |
---|
19 | <TD colspan="2"> |
---|
20 | {'concours_nb_concours_menubar'|@translate} |
---|
21 | <select id="nbconcours_menubar" name="nbconcours_menubar"> |
---|
22 | {foreach from=$NBCONCOURS item=NBCONCOURS} |
---|
23 | <option value="{$NBCONCOURS.ID}" {$NBCONCOURS.SELECTED}>{$NBCONCOURS.NAME}</option> |
---|
24 | {/foreach} |
---|
25 | </select> |
---|
26 | |
---|
27 | </TD> |
---|
28 | </TR> |
---|
29 | <TR> |
---|
30 | <TD colspan="2"> |
---|
31 | <input type="checkbox" name="mask_author" {$MASK_AUTHOR}/> {'concours_mask_author'|@translate} |
---|
32 | <br/> |
---|
33 | </TD> |
---|
34 | </TR> |
---|
35 | <TR> |
---|
36 | <TD colspan="2"> |
---|
37 | <input type="checkbox" name="thumb_note" {$THUMB_NOTE}/> {'concours_thumb_note'|@translate} |
---|
38 | <br/> |
---|
39 | </TD> |
---|
40 | </TR> |
---|
41 | <TR> |
---|
42 | <TD colspan="2"> |
---|
43 | <input type="checkbox" name="check_exaequo" {$CHECK_EXAEQUO}/> {'concours_check_exaequo'|@translate} |
---|
44 | <br/> |
---|
45 | </TD> |
---|
46 | <TR> |
---|
47 | <TD colspan="2"> |
---|
48 | <input type="checkbox" name="author_vote_available" {$AUTHOR_VOTE_AVAILABLE}/> {'concours_author_vote'|@translate} |
---|
49 | <br/> |
---|
50 | </TD> |
---|
51 | </TR> |
---|
52 | <TR> |
---|
53 | <TD colspan="2"> |
---|
54 | <input type="checkbox" name="concours_change_score" {$CHANGE_SCORE}/> {'concours_change_score'|@translate} |
---|
55 | <br/> |
---|
56 | </TD> |
---|
57 | </TR> |
---|
58 | </table> |
---|
59 | <br/> |
---|
60 | </fieldset> |
---|
61 | |
---|
62 | <p><input type="submit" name="submit" value="{'concours_submit'|@translate}" /> |
---|
63 | </p> |
---|
64 | </form> |
---|
65 | |
---|
66 | |
---|
67 | <fieldset> |
---|
68 | <legend>{'concours_result_files'|@translate}</legend> |
---|
69 | </br> |
---|
70 | <table align="left"> |
---|
71 | <tr> |
---|
72 | <td colspan="2" align="left"> |
---|
73 | {'concours_result_file_list'|@translate} |
---|
74 | </td> |
---|
75 | </tr> |
---|
76 | {if count($FILE)} |
---|
77 | {foreach from=$FILE item=FILE} |
---|
78 | <tr align="left"> |
---|
79 | <td> |
---|
80 | <a href="{$FILE.LINK}">{$FILE.NAME}</a> |
---|
81 | </td> |
---|
82 | <td> |
---|
83 | Concours <b>{$FILE.CONC_NAME}</b> {if $FILE.CONC_ID != 0}({$FILE.CONC_ID}){/if} : <i>{$FILE.CONC_DESCR}</i> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | {/foreach} |
---|
87 | {else} |
---|
88 | <tr> |
---|
89 | <td colspan="2" align="left"> |
---|
90 | <b>{'concours_no_result_file'|@translate}</b> |
---|
91 | </td> |
---|
92 | </tr> |
---|
93 | |
---|
94 | {/if} |
---|
95 | </table> |
---|
96 | </fieldset> |
---|
Note: See
TracBrowser
for help on using the repository browser.