1 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} |
---|
2 | {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} |
---|
3 | {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} |
---|
4 | |
---|
5 | {html_head} |
---|
6 | {/html_head} |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | <div class="titrePage"> |
---|
11 | <h2>Piclens</h2> |
---|
12 | </div> |
---|
13 | <p> |
---|
14 | {'piclens_admin_title'|@translate} |
---|
15 | </p> |
---|
16 | <form method="post" action="{$PICLENS_F_ACTION}" class="general"> |
---|
17 | <input type="hidden" name="submit" /> |
---|
18 | <fieldset> |
---|
19 | <legend>{'piclens_wallcfg_title'|@translate}</legend> |
---|
20 | <TABLE> |
---|
21 | <tr><td colspan="2"><br></td></tr> |
---|
22 | |
---|
23 | <TR> |
---|
24 | <td colspan="2" align="left"> |
---|
25 | - <input type="checkbox" name="piclens_wall" {$PICLENS_WALL_ACTIVATED} {$PICLENS_PWGSTUFF}/> {'piclens_wallcfg_actived'|@translate} |
---|
26 | </TD> |
---|
27 | </TR> |
---|
28 | <TR> |
---|
29 | <td colspan="2" align="left"> |
---|
30 | <br> {$PICLENS_PWGSTUFF1} |
---|
31 | </td> |
---|
32 | </TR> |
---|
33 | <TR> |
---|
34 | <td colspan="2" align="left"> |
---|
35 | <input type="checkbox" name="piclens_wall_swflocal" {$PICLENS_WALL_SWFLOCAL}/> {'piclens_wallcfg_swflocal'|@translate} |
---|
36 | </td> |
---|
37 | </TR> |
---|
38 | |
---|
39 | <TR> |
---|
40 | <td colspan="2"align="left"> |
---|
41 | <br> <i>{'piclens_wallcfg_info'|@translate} <a href={$CROSSDOMAIN_LNK}>crossdomain.xml</a> {'piclens_wallcfg_info_suite'|@translate}</i> |
---|
42 | </TD> |
---|
43 | </TR> |
---|
44 | <TR> |
---|
45 | <td colspan="2" align="left"> |
---|
46 | {if $PICLENS_COPY_CROSSDOMAIN} |
---|
47 | {'piclens_label_crossdomain1'|@translate} |
---|
48 | {else} |
---|
49 | <input type="checkbox" name="crossdomain_copy" /> {'piclens_label_crossdomain2'|@translate} |
---|
50 | {/if} |
---|
51 | <br> |
---|
52 | </TD> |
---|
53 | </tr> |
---|
54 | <tr> |
---|
55 | <td colspan="2"><br><hr></td> |
---|
56 | </tr> |
---|
57 | <tr> |
---|
58 | <td colspan="2" align="center">{'piclens_stuff_notparam'|@translate}</td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td align="right">{'piclens_wallcfg_name'|@translate} </td> |
---|
62 | <td><input type="text" size="65" maxlength="50" value="{$PICLENS_WALL_TITLE}" name="piclens_wall_title"/></td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <td align="right"> {'piclens_wallcfg_disp'|@translate} |
---|
66 | <td> |
---|
67 | <input type="checkbox" name="piclens_wall_ontop" {$PICLENS_WALL_ONTOP}/> {'piclens_wallcfg_disp_opt1'|@translate} |
---|
68 | <br> |
---|
69 | <input type="checkbox" name="piclens_wall_oncat" {$PICLENS_WALL_ONCAT}/> {'piclens_wallcfg_disp_opt2'|@translate} |
---|
70 | </td> |
---|
71 | </tr> |
---|
72 | |
---|
73 | <tr> |
---|
74 | <td colspan="2"><br><hr></td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <td colspan="2" align="center">{'piclens_stuff_param_commun'|@translate}</td> |
---|
78 | </tr> |
---|
79 | <tr> |
---|
80 | |
---|
81 | <tr> |
---|
82 | <td align="right">{'piclens_wallcfg_heigh'|@translate} </td> |
---|
83 | <td><input type="text" size="3" maxlength="3" value="{$PICLENS_WALL_HEIGHT}" name="piclens_wall_height"> px</td> |
---|
84 | </tr> |
---|
85 | <tr> |
---|
86 | <td colspan="2"><br> </td> |
---|
87 | </tr> |
---|
88 | <tr> |
---|
89 | <td align="right">{'piclens_wallcfg_param'|@translate} </td> |
---|
90 | <td><input type="radio" name="piclens_wall_specif" value="common" {$common_CHECKED}> {'piclens_wallcfg_paramNORM'|@translate}</td> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <td align="right"></td> |
---|
94 | <td><input type="radio" name="piclens_wall_specif" value="spec" {$spec_CHECKED}> {'piclens_wallcfg_paramSPEC'|@translate}</td> |
---|
95 | </tr> |
---|
96 | <tr> |
---|
97 | <td colspan="2"><br> </td> |
---|
98 | </tr> |
---|
99 | <TR> |
---|
100 | <td align="center" colspan="2"> |
---|
101 | <div id="cat_select0"> |
---|
102 | <b><u>{'piclens_wallcfg_cat'|@translate} </u></b> |
---|
103 | </div> |
---|
104 | </td> |
---|
105 | </tr> |
---|
106 | <tr> |
---|
107 | <td colspan="2"> |
---|
108 | <div id="cat_select"> |
---|
109 | {$DOUBLE_SELECT} |
---|
110 | </div> |
---|
111 | </td> |
---|
112 | </tr> |
---|
113 | |
---|
114 | </TABLE> |
---|
115 | </fieldset> |
---|
116 | <br/> |
---|
117 | |
---|
118 | <fieldset> |
---|
119 | <legend>{'piclens_wallcfg_navoption_title'|@translate}</legend> |
---|
120 | <table> |
---|
121 | <tr><td colspan="2"><br></td></tr> |
---|
122 | <tr> |
---|
123 | <td colspan="2" align="left"> |
---|
124 | - <input type="checkbox" name="piclens_wall_nav" {$PICLENS_WALL_NAV}/> {'piclens_wallcfg_cat_nav'|@translate} |
---|
125 | </TD> |
---|
126 | </TR> |
---|
127 | <TR class="cat_replace" style="display:none;"> |
---|
128 | <td align="right">{'piclens_wallcfg_cat_nav1'|@translate} </td> |
---|
129 | <td align="center"> |
---|
130 | <select class="categoryList1" name="categories_nav[]" multiple="multiple" size="10" style="width:300px"> |
---|
131 | {html_options options=$categories_nav selected=$categories_nav_selected value=$categories_nav_value} |
---|
132 | </select> |
---|
133 | </td> |
---|
134 | </tr> |
---|
135 | |
---|
136 | <tr> |
---|
137 | <td align="left"> |
---|
138 | - <input type="checkbox" name="piclens_wall_spec" {$PICLENS_WALL_SPEC}/> {'piclens_wallcfg_spec_nav'|@translate} |
---|
139 | </TD> |
---|
140 | <TD class="spec_selection" style="display:none;" align="rignt"> |
---|
141 | <input type="checkbox" name="piclens_wall_spec_favorites" {$PICLENS_WALL_SPEC_FAVORITES}/> {'piclens_favorites_label'|@translate} |
---|
142 | <br/> |
---|
143 | <input type="checkbox" name="piclens_wall_spec_mostvisited" {$PICLENS_WALL_SPEC_MOSTVISITED}/> {'piclens_mostvisited_label'|@translate} |
---|
144 | <br/> |
---|
145 | <input type="checkbox" name="piclens_wall_spec_bestrated" {$PICLENS_WALL_SPEC_BESTRATED}/> {'piclens_bestrated_label'|@translate} |
---|
146 | <br/> |
---|
147 | <input type="checkbox" name="piclens_wall_spec_recentcats" {$PICLENS_WALL_SPEC_RECENTCATS}/> {'piclens_recentcats_label'|@translate} |
---|
148 | <br/> |
---|
149 | <input type="checkbox" name="piclens_wall_spec_recentpics" {$PICLENS_WALL_SPEC_RECENTPICS}/> {'piclens_recentpics_label'|@translate} |
---|
150 | <br/> |
---|
151 | <input type="checkbox" name="piclens_wall_spec_tags" {$PICLENS_WALL_SPEC_TAGS}/> {'piclens_tags_label'|@translate} |
---|
152 | |
---|
153 | </TD> |
---|
154 | </TR> |
---|
155 | |
---|
156 | </table> |
---|
157 | {literal} |
---|
158 | <script type="text/javascript"> |
---|
159 | resize = false; |
---|
160 | function show_cat_list() |
---|
161 | { |
---|
162 | jQuery('.cat_replace').show(); |
---|
163 | if (!resize) |
---|
164 | { |
---|
165 | resize = true; |
---|
166 | jQuery('.categoryList1').resizable({ |
---|
167 | handles: "all", |
---|
168 | animate: true, |
---|
169 | animateDuration: "slow", |
---|
170 | animateEasing: "swing", |
---|
171 | preventDefault: true, |
---|
172 | preserveCursor: true, |
---|
173 | autoHide: true, |
---|
174 | ghost: true |
---|
175 | }); |
---|
176 | } |
---|
177 | } |
---|
178 | |
---|
179 | function hide_cat_list() |
---|
180 | { |
---|
181 | jQuery('.cat_replace').hide(); |
---|
182 | } |
---|
183 | |
---|
184 | |
---|
185 | jQuery().ready( function () { |
---|
186 | jQuery("input[name='piclens_wall_nav']").click( function() { |
---|
187 | if (this.checked) |
---|
188 | { |
---|
189 | show_cat_list(); |
---|
190 | } |
---|
191 | else |
---|
192 | { |
---|
193 | hide_cat_list(); |
---|
194 | } |
---|
195 | }); |
---|
196 | jQuery("input[name='piclens_wall_spec']").click( function() { |
---|
197 | if (this.checked) |
---|
198 | { |
---|
199 | jQuery('.spec_selection').show(); |
---|
200 | } |
---|
201 | else |
---|
202 | { |
---|
203 | jQuery('.spec_selection').hide(); |
---|
204 | } |
---|
205 | }); |
---|
206 | |
---|
207 | }); |
---|
208 | |
---|
209 | if (document.getElementsByName("piclens_wall_nav")[0].checked) |
---|
210 | { |
---|
211 | show_cat_list(); |
---|
212 | } |
---|
213 | if (document.getElementsByName("piclens_wall_spec")[0].checked) |
---|
214 | { |
---|
215 | jQuery('.spec_selection').show(); |
---|
216 | } |
---|
217 | |
---|
218 | </script> |
---|
219 | {/literal} |
---|
220 | |
---|
221 | <br/> |
---|
222 | </fieldset> |
---|
223 | |
---|
224 | <p><input type="submit" name="submit" value="{'piclens_admin_submit'|@translate}" /></p> |
---|
225 | |
---|
226 | </form> |
---|