Changeset 3708 for extensions/piclens/admin/piclenswallconfig.tpl
- Timestamp:
- Jul 30, 2009, 10:58:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/piclenswallconfig.tpl
r3637 r3708 82 82 <td><input type="text" size="3" maxlength="3" value="{$PICLENS_WALL_HEIGHT}" name="piclens_wall_height"> px</td> 83 83 </tr> 84 <br> 84 <tr> 85 <td colspan="2"><br> </td> 86 </tr> 85 87 <tr> 86 88 <td align="right">{'piclens_wallcfg_param'|@translate} </td> … … 95 97 </tr> 96 98 <TR> 97 <td align="right">{'piclens_wallcfg_cat'|@translate} </td> 98 <td align="center"> 99 <select class="categoryList" name="categories[]" multiple="multiple" size="30"> 100 {html_options options=$categories selected=$categories_selected value=$categories_value} 101 </select> 99 <td align="center" colspan="2"> 100 <div id="cat_select0"> 101 <b><u>{'piclens_wallcfg_cat'|@translate} </u></b> 102 </div> 103 </td> 104 </tr> 105 <tr> 106 <td colspan="2"> 107 <div id="cat_select"> 108 {$DOUBLE_SELECT} 109 <div><input type="hidden" name="from" value="wallcat" /></div> 110 </div> 102 111 </td> 103 112 </tr> … … 116 125 </TD> 117 126 </TR> 118 <TR >127 <TR class="cat_replace" style="display:none;"> 119 128 <td align="right">{'piclens_wallcfg_cat_nav1'|@translate} </td> 120 129 <td align="center"> 121 <select class="categoryList " name="categories_nav[]" multiple="multiple" size="30">130 <select class="categoryList1" name="categories_nav[]" multiple="multiple" size="10" style="width:300px"> 122 131 {html_options options=$categories_nav selected=$categories_nav_selected value=$categories_nav_value} 123 132 </select> … … 129 138 - <input type="checkbox" name="piclens_wall_spec" {$PICLENS_WALL_SPEC}/> {'piclens_wallcfg_spec_nav'|@translate} 130 139 </TD> 131 <TD align="rignt">140 <TD class="spec_selection" style="display:none;" align="rignt"> 132 141 <input type="checkbox" name="piclens_wall_spec_favorites" {$PICLENS_WALL_SPEC_FAVORITES}/> {'piclens_favorites_label'|@translate} 133 142 <br/> … … 148 157 {literal} 149 158 <script type="text/javascript"> 150 jQuery().ready(function(){ 151 // Resize possible for categories selection 152 jQuery('.categoryList').resizable({ 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({ 153 167 handles: "all", 154 168 animate: true, … … 160 174 ghost: true 161 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 } 162 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 163 218 </script> 164 219 {/literal}
Note: See TracChangeset
for help on using the changeset viewer.