Last change
on this file since 20985 was
20985,
checked in by nikrou, 11 years ago
|
Fix issue with some themes when selection #Tags too small.
(Thanks to Tim Mohr for reporting issue)
|
File size:
1.2 KB
|
Line | |
---|
1 | {combine_css path="$T4U_CSS/style.css"} |
---|
2 | {combine_script id="jquery.tokeninput" require="jquery" path="themes/default/js/plugins/jquery.tokeninput.js"} |
---|
3 | {combine_script id="addtags" require="jquery" path="$T4U_JS/jquery.addtags.js"} |
---|
4 | {footer_script require="jquery.tokeninput,addtags"} |
---|
5 | |
---|
6 | var t4u_list_script = '{$T4U_LIST_SCRIPT}'; |
---|
7 | var vocab = []; |
---|
8 | vocab['click_to_add_tags'] = "{'Click to add tags'|@translate}"; |
---|
9 | vocab['start_to_type'] = "{'Start to type'|@translate}..."; |
---|
10 | vocab['no_results'] = "{'No results'|@translate}", |
---|
11 | vocab['searching_text'] = "{'Searching...'|@translate}", |
---|
12 | vocab['new_text'] = " ({'new'|@translate})"; |
---|
13 | {/footer_script} |
---|
14 | |
---|
15 | <form style="display:none" name="t4u-update-tags" id="t4u-update-tags" action="{$T4U_UPDATE_SCRIPT}" method="post"> |
---|
16 | <input type="hidden" id="t4u-image-id" name="image_id" value="{$T4U_IMAGE_ID}"> |
---|
17 | <input type="hidden" id="t4u-referer" name="referer" value="{$T4U_REFERER}"> |
---|
18 | |
---|
19 | <select id="t4u-tags" name="tags"> |
---|
20 | {foreach from=$T4U_RELATED_TAGS item=tag key=id} |
---|
21 | <option value="{$id}">{$tag}</option> |
---|
22 | {/foreach} |
---|
23 | </select> |
---|
24 | <input id="t4u-update" type="submit" disabled="disabled" class="t4u-disabled" value="{'Update tags'|@translate}"> |
---|
25 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.