- Timestamp:
- May 25, 2011, 11:00:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/batch_manager_unit.tpl
r11008 r11039 14 14 tag_boxes_selector = tag_boxes_selector + prefix + "#tags-" + {$element.ID}; 15 15 {/foreach} 16 {literal} 17 jQuery(document).ready(function() { 18 jQuery.getJSON('admin.php?fckb_tags=1', function(data) { 19 jQuery(tag_boxes_selector).tokenInput( 20 data, 21 { 22 {/literal} 23 hintText: '{'Type in a search term'|@translate}', 24 noResultsText: '{'No results'|@translate}', 25 searchingText: '{'Searching...'|@translate}', 26 newText: ' ({'new'|@translate})', 27 animateDropdown: false, 28 preventDuplicates: true, 29 allowCreation: true 30 {literal} 31 } 32 ); 33 }); 34 35 $("a.preview-box").colorbox(); 16 17 jQuery(document).ready(function() {ldelim} 18 jQuery(tag_boxes_selector).tokenInput( 19 [{foreach from=$tags item=tag name=tags}{ldelim}"name":"{$tag.name}","id":"{$tag.id}"{rdelim}{if !$smarty.foreach.tags.last},{/if}{/foreach}], 20 {ldelim} 21 hintText: '{'Type in a search term'|@translate}', 22 noResultsText: '{'No results'|@translate}', 23 searchingText: '{'Searching...'|@translate}', 24 newText: ' ({'new'|@translate})', 25 animateDropdown: false, 26 preventDuplicates: true, 27 allowCreation: true 28 } 29 ); 30 31 jQuery("a.preview-box").colorbox(); 36 32 }); 37 {/ literal}{/footer_script}33 {/footer_script} 38 34 39 35 <h2>{'Batch Manager'|@translate}</h2>
Note: See TracChangeset
for help on using the changeset viewer.