Changeset 25198 for trunk/admin/themes
- Timestamp:
- Oct 28, 2013, 8:18:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/user_list.tpl
r25194 r25198 167 167 jQuery("#applyAction").click(function() { 168 168 var action = jQuery("select[name=selectAction]").prop("value"); 169 var method = null;169 var method = 'pwg.users.setInfo'; 170 170 var data = { 171 171 user_id: selection … … 188 188 data.group_id = jQuery("select[name=dissociate]").prop("value"); 189 189 break; 190 case 'status': 191 data.status = jQuery("select[name=status]").prop("value"); 192 break; 193 case 'enabled_high': 194 data.enabled_high = jQuery("input[name=enabled_high]:checked").val(); 195 break; 196 case 'level': 197 data.level = jQuery("select[name=level]").val(); 198 break; 199 case 'nb_image_page': 200 data.nb_image_page = jQuery("input[name=nb_image_page]").val(); 201 break; 202 case 'theme': 203 data.theme = jQuery("select[name=theme]").val(); 204 break; 205 case 'language': 206 data.language = jQuery("select[name=language]").val(); 207 break; 208 case 'recent_period': 209 data.recent_period = jQuery("input[name=recent_period]").val(); 210 break; 211 case 'expand': 212 data.expand = jQuery("input[name=expand]:checked").val(); 213 break; 214 case 'show_nb_comments': 215 data.show_nb_comments = jQuery("input[name=show_nb_comments]:checked").val(); 216 break; 217 case 'show_nb_hits': 218 data.show_nb_hits = jQuery("input[name=show_nb_hits]:checked").val(); 219 break; 220 default: 221 alert("Unexpected action"); 222 return false; 190 223 } 191 224 … … 332 365 <div id="action_enabled_high" class="bulkAction"> 333 366 <label><input type="radio" name="enabled_high" value="true">{'Yes'|@translate}</label> 334 <label><input type="radio" name="enabled_high" value="false" >{'No'|@translate}</label>367 <label><input type="radio" name="enabled_high" value="false" checked="checked">{'No'|@translate}</label> 335 368 </div> 336 369 … … 369 402 <div id="action_expand" class="bulkAction"> 370 403 <label><input type="radio" name="expand" value="true">{'Yes'|@translate}</label> 371 <label><input type="radio" name="expand" value="false" >{'No'|@translate}</label>404 <label><input type="radio" name="expand" value="false" checked="checked">{'No'|@translate}</label> 372 405 </div> 373 406 … … 375 408 <div id="action_show_nb_comments" class="bulkAction"> 376 409 <label><input type="radio" name="show_nb_comments" value="true">{'Yes'|@translate}</label> 377 <label><input type="radio" name="show_nb_comments" value="false" >{'No'|@translate}</label>410 <label><input type="radio" name="show_nb_comments" value="false" checked="checked">{'No'|@translate}</label> 378 411 </div> 379 412 … … 381 414 <div id="action_show_nb_hits" class="bulkAction"> 382 415 <label><input type="radio" name="show_nb_hits" value="true">{'Yes'|@translate}</label> 383 <label><input type="radio" name="show_nb_hits" value="false" >{'No'|@translate}</label>416 <label><input type="radio" name="show_nb_hits" value="false" checked="checked">{'No'|@translate}</label> 384 417 </div> 385 418
Note: See TracChangeset
for help on using the changeset viewer.