Changeset 5188 for trunk/admin/themes/default
- Timestamp:
- Mar 19, 2010, 1:50:19 PM (14 years ago)
- Location:
- trunk/admin/themes/default/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/element_set_global.tpl
r5123 r5188 5 5 <script type="text/javascript"> 6 6 pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set"); 7 </script> 8 {/literal} 9 10 {known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} 11 {literal} 12 <script type="text/javascript"> 13 $(document).ready(function() { 14 $("#tags").fcbkcomplete({ 15 json_url: "admin.php?fckb_tags=1", 16 cache: false, 17 filter_case: true, 18 filter_hide: true, 19 firstselected: true, 20 filter_selected: true, 21 maxitems: 10, 22 newel: true 23 }); 24 }); 7 25 </script> 8 26 {/literal} … … 109 127 <tr> 110 128 <td>{'add tags'|@translate}</td> 111 <td>{if !empty($ADD_TAG_SELECTION)}{$ADD_TAG_SELECTION}{else}<p>{'No tag defined. Use Administration>Pictures>Tags'|@translate}</p>{/if}</td> 129 <td> 130 <select id="tags" name="add_tags"> 131 {foreach from=$tags item=tag} 132 <option value="{$tag.value}" class="selected">{$tag.caption}</option> 133 {/foreach} 134 </select> 135 </td> 112 136 </tr> 113 137 -
trunk/admin/themes/default/template/element_set_unit.tpl
r5123 r5188 2 2 {include file='include/autosize.inc.tpl'} 3 3 {include file='include/datepicker.inc.tpl'} 4 5 {known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} 6 {literal} 7 <script type="text/javascript"> 8 $(document).ready(function() { 9 $(".tags").fcbkcomplete({ 10 json_url: "admin.php?fckb_tags=1", 11 cache: false, 12 filter_case: true, 13 filter_hide: true, 14 firstselected: true, 15 filter_selected: true, 16 maxitems: 10, 17 newel: true 18 }); 19 }); 20 </script> 21 {/literal} 22 4 23 5 24 <h2>{'Batch management'|@translate}</h2> … … 76 95 <tr> 77 96 <td><strong>{'Tags'|@translate}</strong></td> 78 <td>{$element.TAG_SELECTION}</td> 97 <td> 98 99 <select class="tags" name="tags-{$element.ID}"> 100 {foreach from=$element.TAGS item=tag} 101 <option value="{$tag.value}" class="selected">{$tag.caption}</option> 102 {/foreach} 103 </select> 104 105 </td> 79 106 </tr> 80 107
Note: See TracChangeset
for help on using the changeset viewer.