1 | {html_head} |
---|
2 | <script type="text/javascript" src="themes/cuise/admin/js/farbtastic.js" ></script> |
---|
3 | <script type="text/javascript" src="themes/cuise/admin/js/admin.js" ></script> |
---|
4 | <script type="text/javascript" src="themes/default/js/ui/minified/jquery.ui.slider.min.js"></script> |
---|
5 | <script type="text/javascript" src="themes/cuise/admin/js/fileupload.js" ></script> |
---|
6 | <link rel="stylesheet" href="themes/cuise/admin/theme.css" /> |
---|
7 | |
---|
8 | <script type="text/javascript"> |
---|
9 | var process_script='{$classeRoot}process.php'; |
---|
10 | var path='{$root}' |
---|
11 | var path_theme='{$theme}'; |
---|
12 | var path_theme_images='{$theme}images/'; |
---|
13 | |
---|
14 | |
---|
15 | </script> |
---|
16 | |
---|
17 | {/html_head} |
---|
18 | <div class="titrePage"> |
---|
19 | <h2>{$theme}{$parent}</h2> |
---|
20 | </div> |
---|
21 | <form action="" method="post"> |
---|
22 | |
---|
23 | <fieldset id="field_content" > |
---|
24 | <legend>{'Color of theme'|@translate}</legend> |
---|
25 | <div id="textcolor"> |
---|
26 | <fieldset id="selTab" > |
---|
27 | <legend>Select</legend> |
---|
28 | {foreach from=$name_tpl item=name_1 name=t} |
---|
29 | <input type="submit" name="sel_tab" value="{$smarty.foreach.t.index}" ><span>{$name_1}</span> |
---|
30 | {/foreach} |
---|
31 | </fieldset> |
---|
32 | <fieldset class="fld1" > |
---|
33 | <legend>{$name_tpl.$ind}</legend> |
---|
34 | <table> <tr > |
---|
35 | <td >type</td> |
---|
36 | <td style="width:50px" > </td> |
---|
37 | <td>color</td> |
---|
38 | <td>hover</td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr><td>{'Rayon'|@translate}:</td> |
---|
42 | <td class="form-item"> |
---|
43 | <input type="text" id= "rayon_cuise" size=6 name="rayon_cuise_{$ind}" class="color" value="{$selected_rayon_cuise}" /> |
---|
44 | </td> |
---|
45 | <td> </td> |
---|
46 | <td> </td> |
---|
47 | </tr> |
---|
48 | |
---|
49 | |
---|
50 | <tr><td>{'Background'|@translate}:</td> |
---|
51 | <td><input id= "chk_cuise" name="chk_cuise_{$ind}" type=checkbox value="chk_cuise" {$selected_chk_cuise} /></td> |
---|
52 | <td class="form-item"> |
---|
53 | <input type="text" id="bg_cuise" name="bg_cuise_{$ind}" class="colorwell" value="{$selected_bg_cuise}" /> |
---|
54 | </td> |
---|
55 | <td class="form-item"> |
---|
56 | <input type="text" id="bgho_cuise" name="bgho_cuise_{$ind}" class="colorwell" value="{$selected_bgho_cuise}" /> |
---|
57 | </td> |
---|
58 | <td></td> |
---|
59 | </tr> |
---|
60 | |
---|
61 | <tr> <td>{'Border'|@translate}:</td> |
---|
62 | <td class="form-item"> |
---|
63 | <input type="text" id="bd_width" size="6" name="bd_width_cuise_{$ind}" class="text" value="{$selected_bd_width_cuise}" /> |
---|
64 | </td> |
---|
65 | <td><input type="text" id="bd_cuise" name="bd_cuise_{$ind}" class="colorwell" value="{$selected_bd_cuise}" /> |
---|
66 | </td> |
---|
67 | <td class="form-item"> |
---|
68 | <input type="text" id="bdho_cuise" name="bdho_cuise_{$ind}" class="colorwell" value="{$selected_bdho_cuise}" /> |
---|
69 | </td> |
---|
70 | </tr> |
---|
71 | |
---|
72 | <tr><td>{'Text color'|@translate}:</td> |
---|
73 | <td></td> |
---|
74 | <td class="form-item"> |
---|
75 | |
---|
76 | <input type="text" id="co_cuise" name="co_cuise_{$ind}" class="colorwell" value="{$selected_co_cuise}" /> |
---|
77 | </td> |
---|
78 | <td class="form-item"> |
---|
79 | |
---|
80 | <input type="text" id="coho_cuise" name="coho_cuise_{$ind}" class="colorwell" value="{$selected_coho_cuise}" /> |
---|
81 | </td> |
---|
82 | </tr> |
---|
83 | </table> |
---|
84 | |
---|
85 | <div class="form-item"> |
---|
86 | <label>{'Image'|@translate}:</label> |
---|
87 | <label id="img_src" >{$theme}images/{$selected_img_cuise} </label> |
---|
88 | <p> |
---|
89 | <label >{'repeat x'|@translate} </label> <input id="chk_cuise_x" name="chk_cuise_x_{$ind}" type=checkbox value="chk_cuise_x" {$selected_chk_x_cuise} /> |
---|
90 | <label >{'repeat y'|@translate} </label> <input id="chk_cuise_y" name="chk_cuise_y_{$ind}" type=checkbox value="chk_cuise_y" {$selected_chk_y_cuise} /> |
---|
91 | |
---|
92 | </div> |
---|
93 | <input type="submit" name="default" value="{'Default'|@translate}" > |
---|
94 | |
---|
95 | </fieldset> |
---|
96 | <fieldset> |
---|
97 | <input type="submit" name="compiled-templates" id="compiled-templates" value="{$parent}" > |
---|
98 | <ul> |
---|
99 | <li>{strip}{'Parent theme'|@translate}: |
---|
100 | <select onchange="javascript:jQuery('#compiled-templates').val(this.value).click();"> |
---|
101 | {foreach from=$list_themes item=list_theme} |
---|
102 | <option value="{$list_theme.id}" {if $list_theme.name==$parent } selected="selected" {/if } > {$list_theme.name} </option><br> |
---|
103 | {/foreach} |
---|
104 | </select> |
---|
105 | {/strip}</li> |
---|
106 | </ul> |
---|
107 | </fieldset> |
---|
108 | </div> |
---|
109 | |
---|
110 | <fieldset id="fldres"> |
---|
111 | <div id="picker"></div> |
---|
112 | <div id="test" class="image" ></div> |
---|
113 | <div class="fondBG" style="min-height:100px" ><a href="">fondBG</a></div> |
---|
114 | <div class="fondBP"><a href="">fondBP</a></div> |
---|
115 | <div class="Menu_bar"><a href="">Menu_bar</a></div> |
---|
116 | <div class="thumbnail"><a href="">thumbnail</a></div> |
---|
117 | |
---|
118 | </fieldset> |
---|
119 | |
---|
120 | |
---|
121 | {if $selected_chk_cuise!="checked"} <fieldset tyle="width:200px;align:left"> |
---|
122 | <div id="result" classe="texture" > |
---|
123 | </div> |
---|
124 | |
---|
125 | <input type="text" name="img_cuise_{$ind}" id='fileInputTxt' value="{$selected_img_cuise}" /> |
---|
126 | <label>Upload</label>:<input type='file' size="60" value="{$theme}images/{$selected_img_cuise}" id='fileInput' > |
---|
127 | </field> |
---|
128 | {/if} |
---|
129 | |
---|
130 | |
---|
131 | {footer_script} |
---|
132 | |
---|
133 | var process_script='{$classeRoot}process.php'; |
---|
134 | var path='{$root}' |
---|
135 | var path_theme='{$theme}'; |
---|
136 | var path_theme_images='{$theme}images/'; |
---|
137 | var name_tpl = Array( |
---|
138 | {foreach from=$name_tpl item=name_id name=t} |
---|
139 | '{$name_id}', |
---|
140 | {/foreach} |
---|
141 | 'end' |
---|
142 | ); |
---|
143 | |
---|
144 | |
---|
145 | {literal}{/literal}{/footer_script} |
---|
146 | </fieldset> |
---|
147 | <fieldset> |
---|
148 | <input type="submit" name="submit" id="send" value="{'Submit'|@translate}_{$ind}"> |
---|
149 | <a href="themes/cuise/theme.css.php?{$params}" >Sauvegarde</a> |
---|
150 | </fieldset> |
---|
151 | </form> |
---|
152 | |
---|
153 | |
---|
154 | |
---|