Last change
on this file since 11217 was
11081,
checked in by nikrou, 13 years ago
|
Fix incompatibility with piwigo 2.2
Change jquery plugin from fcbkcomplete to tokeninput
|
File size:
773 bytes
|
Line | |
---|
1 | {combine_css path="$T4U_CSS/style.css"} |
---|
2 | {combine_script id="addtags" require="jquery" path="$T4U_JS/jquery.addtags.js"} |
---|
3 | |
---|
4 | {footer_script require="addtags"} |
---|
5 | var related_tags = ''; |
---|
6 | {foreach from=$T4U_RELATED_TAGS item=tag key=id} |
---|
7 | related_tags += '<option value="{$id}">{$tag}</option>'; |
---|
8 | {/foreach} |
---|
9 | var path = new Array(); |
---|
10 | path['t4u_add_script'] = "{$T4U_ADD_SCRIPT}"; |
---|
11 | path['t4u_image_id'] = "{$T4U_IMAGE_ID}"; |
---|
12 | path['t4u_referer'] = "{$T4U_REFERER}"; |
---|
13 | path['t4u_edit_icon'] = "{$ROOT_URL}{$T4U_IMGS}/edit.png"; |
---|
14 | path['t4u_get_script'] = "{$T4U_GET_SCRIPT}"; |
---|
15 | |
---|
16 | var vocab = new Array(); |
---|
17 | vocab['click_to_add_tags'] = "{'Click to add tags'|@translate}"; |
---|
18 | vocab['start_to_type'] = "{'Start to type'|@translate}..."; |
---|
19 | vocab['update_tags'] = "{'Update tags'|@translate}"; |
---|
20 | {/footer_script} |
---|
Note: See
TracBrowser
for help on using the repository browser.