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