1 | {html_head} |
---|
2 | <link rel="stylesheet" type="text/css" href="{$CR_PATH}admin/template/style.css"> |
---|
3 | {/html_head} |
---|
4 | |
---|
5 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} |
---|
6 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} |
---|
7 | |
---|
8 | {include file='include/autosize.inc.tpl'} |
---|
9 | {include file='include/datepicker.inc.tpl'} |
---|
10 | |
---|
11 | <script type="text/javascript"> |
---|
12 | $(function() {ldelim} |
---|
13 | $("#DateBegin").datepicker({ldelim}dateFormat:"yy-mm-dd", firstDay:1}); |
---|
14 | $("#DateEnd").datepicker({ldelim}dateFormat:"yy-mm-dd", firstDay:1}); |
---|
15 | }); |
---|
16 | |
---|
17 | jQuery().ready(function(){ldelim} |
---|
18 | jQuery('.cluetip').cluetip({ldelim} |
---|
19 | width: 550, |
---|
20 | splitTitle: '|' |
---|
21 | }); |
---|
22 | }); |
---|
23 | </script> |
---|
24 | |
---|
25 | <h2 style="float:right;top:-24px;position:relative;font-style:italic;margin-bottom:-20px;font-size:12px;font-weight:normal;">{$CR_VERSION}</h2> |
---|
26 | |
---|
27 | <div class="titrePage"> |
---|
28 | <h2>{if isset($NAME)}{'CR_edit_tab'|@translate|cat:' : '|cat:$NAME}{else}{'CR_new_tab'|@translate}{/if}</h2> |
---|
29 | </div> |
---|
30 | |
---|
31 | <form method="post" action="" class="properties"> |
---|
32 | <fieldset> |
---|
33 | <legend>{'Configuration'|@translate}</legend> |
---|
34 | <table> |
---|
35 | <tr> |
---|
36 | <td><span class="title cluetip" title="{'CR_title'|@translate}|{'CR_help_title'|@translate}{'CR_help_lang'|@translate}">{'CR_title'|@translate}</span></td> |
---|
37 | <td colspan="3"><input type="text" size="65" maxlength="255" name="name" value="{$NAME}"/></td> |
---|
38 | </tr> |
---|
39 | |
---|
40 | <tr><td colspan="4"><br/></td></tr> |
---|
41 | |
---|
42 | <tr> |
---|
43 | <td><span class="title cluetip" title="{'CR_status'|@translate}|{'CR_help_status'|@translate}"> |
---|
44 | {'CR_status'|@translate} |
---|
45 | </span></td> |
---|
46 | <td> |
---|
47 | <label><input type="radio" name="status" value="pending" {if $STATUS == 'pending'}checked="checked"{/if}> {'CR_pending'|@translate}</label> |
---|
48 | <label><input type="radio" name="status" value="finished" {if $STATUS == 'finished'}checked="checked"{/if}> {'CR_finished'|@translate}</label> |
---|
49 | </td> |
---|
50 | <td><span class="title cluetip" title="{'CR_visible'|@translate}|{'CR_help_visible'|@translate}"> |
---|
51 | {'CR_visible'|@translate} |
---|
52 | </span></td> |
---|
53 | <td> |
---|
54 | <label><input type="radio" name="visible" value="1" {if $VISIBLE == 1}checked="checked"{/if}> {'Yes'|@translate}</label> |
---|
55 | <label><input type="radio" name="visible" value="0" {if $VISIBLE == 0}checked="checked"{/if}> {'No'|@translate}</label> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td><span class="title">{'CR_dateB'|@translate}</span></td> |
---|
60 | <td><input type="text" size="11" maxlength="10" value="{$DATE_BEGIN}" id="DateBegin" class="inputdate" name="date_begin"/></td> |
---|
61 | <td><span class="title">{'CR_dateE'|@translate}</span></td> |
---|
62 | <td><input type="text" size="11" maxlength="10" value="{$DATE_END}" id="DateEnd" class="inputdate" name="date_end"/></td> |
---|
63 | </tr> |
---|
64 | |
---|
65 | <tr><td colspan="4"><br/></td></tr> |
---|
66 | |
---|
67 | <tr> |
---|
68 | <td><span class="title">{'CR_logo'|@translate}</span></td> |
---|
69 | <td colspan="3"><input type="text" size="65" maxlength="255" value="{$LOGO}" name="logo"/></td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <td><span class="title">{'CR_banner'|@translate}</span></td> |
---|
73 | <td colspan="3"><input type="text" size="65" maxlength="255" value="{$BANNER}" name="banner"/></td> |
---|
74 | </tr> |
---|
75 | |
---|
76 | <tr><td colspan="4"><br/></td></tr> |
---|
77 | |
---|
78 | <tr> |
---|
79 | <td><span class="title cluetip" title="{'CR_summary'|@translate}|{'CR_help_summary'|@translate}{'CR_help_lang'|@translate}"> |
---|
80 | {'CR_summary'|@translate} |
---|
81 | </span></td> |
---|
82 | <td colspan="3"><textarea name="summary" id ="textarea" rows="4" cols="50">{$SUMMARY}</textarea></td> |
---|
83 | </tr> |
---|
84 | </table> |
---|
85 | </fieldset> |
---|
86 | |
---|
87 | <div class="textareas"><span class="title cluetip" title="{'CR_textareas'|@translate}|{'CR_help_textareas'|@translate}{'CR_help_lang'|@translate}"> |
---|
88 | {'CR_textareas'|@translate} |
---|
89 | </span></div> |
---|
90 | |
---|
91 | <fieldset> |
---|
92 | <legend>{'CR_presentation'|@translate}</legend> |
---|
93 | <div align="center"> |
---|
94 | <textarea name="presentation" id ="textarea" rows="4" cols="50" style="width:70%;">{$PRESENTATION}</textarea> |
---|
95 | <br/> |
---|
96 | {'CR_visibility'|@translate} : |
---|
97 | <label><input type="checkbox" name="presentation_pending" value="true" {if isset($PRESENTATION_PENDING)}checked="checked"{/if}> {'CR_pending'|@translate}</label> |
---|
98 | <label><input type="checkbox" name="presentation_finished" value="true" {if isset($PRESENTATION_FINISHED)}checked="checked"{/if}> {'CR_finished'|@translate}</label> |
---|
99 | </div> |
---|
100 | </fieldset> |
---|
101 | |
---|
102 | <fieldset> |
---|
103 | <legend>{'CR_rules'|@translate}</legend> |
---|
104 | <div align="center"> |
---|
105 | <textarea name="rules" id ="textarea" rows="4" cols="50" style="width:70%;">{$RULES}</textarea> |
---|
106 | <br/> |
---|
107 | {'CR_visibility'|@translate} : |
---|
108 | <label><input type="checkbox" name="rules_pending" value="true" {if isset($RULES_PENDING)}checked="checked"{/if}> {'CR_pending'|@translate}</label> |
---|
109 | <label><input type="checkbox" name="rules_finished" value="true" {if isset($RULES_FINISHED)}checked="checked"{/if}> {'CR_finished'|@translate}</label> |
---|
110 | </div> |
---|
111 | </fieldset> |
---|
112 | |
---|
113 | <fieldset> |
---|
114 | <legend>{'CR_prices'|@translate}</legend> |
---|
115 | <div align="center"> |
---|
116 | <textarea name="prices" id ="textarea" rows="4" cols="50" style="width:70%;">{$PRICES}</textarea> |
---|
117 | <br/> |
---|
118 | {'CR_visibility'|@translate} : |
---|
119 | <label><input type="checkbox" name="prices_pending" value="true" {if isset($PRICES_PENDING)}checked="checked"{/if}> {'CR_pending'|@translate}</label> |
---|
120 | <label><input type="checkbox" name="prices_finished" value="true" {if isset($PRICES_FINISHED)}checked="checked"{/if}> {'CR_finished'|@translate}</label> |
---|
121 | </div> |
---|
122 | </fieldset> |
---|
123 | |
---|
124 | <fieldset> |
---|
125 | <legend>{'CR_final'|@translate}</legend> |
---|
126 | <div align="center"> |
---|
127 | <textarea name="final" id ="textarea" rows="4" cols="50" style="width:70%;">{$FINAL}</textarea> |
---|
128 | <br/> |
---|
129 | {'CR_visibility'|@translate} : |
---|
130 | <label><input type="checkbox" name="final_pending" value="true" {if isset($FINAL_PENDING)}checked="checked"{/if}> {'CR_pending'|@translate}</label> |
---|
131 | <label><input type="checkbox" name="final_finished" value="true" {if isset($FINAL_FINISHED)}checked="checked"{/if}> {'CR_finished'|@translate}</label> |
---|
132 | </div> |
---|
133 | </fieldset> |
---|
134 | |
---|
135 | {if isset($ID)}<input type="hidden" name="contest_id" value="{$ID}"/>{/if} |
---|
136 | <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="new_submit"/></p> |
---|
137 | </form> |
---|