Last change
on this file since 3905 was
3905,
checked in by tiico, 15 years ago
|
Initial submit for plugin ConcoursPhoto (Possibility to add a competition on category with selected criterias and generation of the competition's result).
Functionnal version. Admin pages must be checked for informations/errors notifications
|
File size:
1.7 KB
|
Line | |
---|
1 | <div class="concours"> |
---|
2 | <form method="post" action="{$CONCOURS_F_ACTIONS}" class="concours"> |
---|
3 | <fieldset> |
---|
4 | <legend>Concours Photo</legend> |
---|
5 | <table> |
---|
6 | <tr> |
---|
7 | <td align="left" colspan="5"><b>Concours : {$concours_infos.name} </b> |
---|
8 | <i>({$concours_infos.descr})</i> |
---|
9 | <td> |
---|
10 | </tr> |
---|
11 | <tr><td colspan="5"><br></td></tr> |
---|
12 | {foreach from=$concours_criteria item=concours_criteria} |
---|
13 | <tr> |
---|
14 | {if $concours_criteria.level == 1} |
---|
15 | <td align="left" colspan="2"><b><u>{$concours_criteria.name}</u></b> |
---|
16 | (<b><i>{$concours_criteria.lib}</i></b>) </td> |
---|
17 | {else} |
---|
18 | <td> </td> |
---|
19 | <td><i>{$concours_criteria.name} </i></td> |
---|
20 | {/if} |
---|
21 | {if $concours_criteria.level == 1} |
---|
22 | <td align="left" > </td> |
---|
23 | {else} |
---|
24 | <td><i>{$concours_criteria.lib} </i></td> |
---|
25 | {/if} |
---|
26 | {if $concours_criteria.nosub} |
---|
27 | <td><input type="text" size="4" maxlength="4" value="{$concours_criteria.val}" name="{$concours_criteria.id}" /></td> |
---|
28 | <td><i>(Min={$concours_criteria.min} ;Max={$concours_criteria.max}) </i></td> |
---|
29 | {else} |
---|
30 | <td colspan="2"> </td> |
---|
31 | {/if} |
---|
32 | </tr> |
---|
33 | {/foreach} |
---|
34 | <tr><td colspan="5"><br></td></tr> |
---|
35 | <tr> |
---|
36 | <td colspan="2">{'concours_comment'|@translate} </td> |
---|
37 | <td colspan="3"> |
---|
38 | <textarea cols="50" rows="4" name="concours_comment" id="concours_comment">{$CONCOURS_COMMENT}</textarea> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | |
---|
42 | </table> |
---|
43 | <p> |
---|
44 | <input type="submit" name="concours_submit" value="{'concours_save'|@translate}" /> |
---|
45 | <input type="submit" name="concours_raz" value="{'concours_RAZ'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> |
---|
46 | </p> |
---|
47 | </fieldset> |
---|
48 | </form> |
---|
49 | |
---|
50 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.