Changeset 20099 for extensions/UserCollections/admin/template/export.tpl
- Timestamp:
- Jan 13, 2013, 12:49:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/admin/template/export.tpl
r20093 r20099 20 20 }); 21 21 22 $("#invokeFrame").load(function() { 23 $(this).css('height', $(this).contents().find('body').outerHeight(true)+10); 24 }); 25 22 26 $("input[name='download']").click(function() { 23 27 $("#fields_active li").each(function() { 24 $("#export_form").append('<input type="hidden" name="content[]" value="'+ $(this).data('name') +'"/>'); 28 $("#export_form").append('<input type="hidden" name="active[]" value="'+ $(this).data('name') +'"/>'); 29 }); 30 $("#fields_inactive li").each(function() { 31 $("#export_form").append('<input type="hidden" name="inactive[]" value="'+ $(this).data('name') +'"/>'); 25 32 }); 26 33 }); … … 37 44 <ul id="fields_active" class="connectedSortable"> 38 45 <h4>{'Active'|@translate}</h4> 39 <li data-name="id"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> id</li>40 <li data-name=" name"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> name</li>41 <li data-name="path"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> path</li>46 {foreach from=$active_fields item=field} 47 <li data-name="{$field}"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> {$field}</li> 48 {/foreach} 42 49 </ul> 43 50 <ul id="fields_inactive" class="connectedSortable"> 44 51 <h4>{'Inactive'|@translate}</h4> 45 <li data-name="file"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> file</li> 46 <li data-name="url"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> url</li> 52 {foreach from=$inactive_fields item=field} 53 <li data-name="{$field}"><img src="{$themeconf.admin_icon_dir}/cat_move.png"> {$field}</li> 54 {/foreach} 47 55 </ul> 48 56
Note: See TracChangeset
for help on using the changeset viewer.