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