source: extensions/ConcoursPhoto/admin/template/criteria.tpl @ 8946

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: 1.7 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="properties"  ENCTYPE="multipart/form-data">
8<fieldset>
9        <legend>{'manage_criteria'|@translate}</legend>
10         <table border="1">
11                <tr>
12                        <td><b>{'concours_id'|@translate}</b></td>
13                        <td>{$criteria_id}</td>
14                </tr>
15
16                <tr>
17                        <td><b>{'concours_name'|@translate}</b></td>
18                        <td width="50">{if $action != "edit"}
19                                <input type="text" size="50" maxlength="50" value="{$criteria_name}" name="criteria_name"/></td>
20                                {else}{$criteria_name}{/if}
21                        </td>
22                </tr>
23                <tr>
24                        <td><b>{'concours_descr'|@translate}</b></td>
25                        <td width="255">{if $action != "edit"}
26                                <input type="text" size="65" maxlength="255" value="{$criteria_lib}" name="criteria_lib"/></td>
27                                {else}{$criteria_lib}{/if}
28                        </td>
29                </tr>
30                        <td><b>{'concours_min_value'|@translate}</b></td>
31                        <td>{if $action != "edit"}
32                                <input type="text" size="5" maxlength="5" value="{$criteria_min}" name="criteria_min"/></td>
33                                {else}{$criteria_min}{/if}
34                        </td>
35                </tr>
36                        <td><b>{'concours_max_value'|@translate}</b></td>
37                        <td>{if $action != "edit"}
38                                <input type="text" size="5" maxlength="5" value="{$criteria_max}" name="criteria_max"/></td>
39                                {else}{$criteria_max}{/if}
40                        </td>
41                </tr>
42                        <td><b>{'concours_coef'|@translate}</b></td>
43                        <td>{if $action != "edit"}
44                                <input type="text" size="5" maxlength="5" value="{$criteria_pond}" name="criteria_pond"/></td>
45                                {else}{$criteria_pond}{/if}
46                        </td>
47                </tr>
48        </table>
49
50        <p><input type="submit" name="submit" value="{'concours_criteria_submit'|@translate}" />
51               
52</fieldset>
53</form>
Note: See TracBrowser for help on using the repository browser.