Changeset 11333 for extensions/SmartAlbums/template/cat_modify.tpl
- Timestamp:
- Jun 12, 2011, 5:56:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/template/cat_modify.tpl
r10980 r11333 74 74 }); 75 75 76 jQuery.getJSON('admin.php?fckb_tags=1', function(data) { 77 jQuery(".tagSelect").tokenInput( 78 data, 79 { 80 {/literal} 81 hintText: '{'Type in a search term'|@translate}', 82 noResultsText: '{'No results'|@translate}', 83 searchingText: '{'Searching...'|@translate}', 84 animateDropdown: false, 85 preventDuplicates: true, 86 allowCreation: true 87 {literal} 88 } 89 ); 90 }); 76 jQuery(".tagSelect").tokenInput( 77 {/literal} 78 [{foreach from=$tags item=tag name=tags}{ldelim}"name":"{$tag.name|@escape:'javascript'}","id":"{$tag.id}"{rdelim}{if !$smarty.foreach.tags.last},{/if}{/foreach}], 79 {ldelim} 80 hintText: '{'Type in a search term'|@translate}', 81 noResultsText: '{'No results'|@translate}', 82 searchingText: '{'Searching...'|@translate}', 83 animateDropdown: false, 84 preventDuplicates: true, 85 allowCreation: false 86 {literal} 87 } 88 ); 91 89 } 92 90
Note: See TracChangeset
for help on using the changeset viewer.