diff options
Diffstat (limited to 'admin/template/goto/picture_modify.tpl')
-rw-r--r-- | admin/template/goto/picture_modify.tpl | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index 4c8315d9b..77f1671a6 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -1,8 +1,25 @@ - {include file='include/autosize.inc.tpl'} {include file='include/dbselect.inc.tpl'} {include file='include/datepicker.inc.tpl'} +{known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.fcbkcomplete.js"} +{literal} +<script type="text/javascript"> + $(document).ready(function() { + $("#tags").fcbkcomplete({ + json_url: "admin.php?fckb_tags=1", + cache: false, + filter_case: true, + filter_hide: true, + firstselected: true, + filter_selected: true, + maxitems: 10, + newel: true + }); + }); +</script> +{/literal} + {literal} <script type="text/javascript"> pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set"); @@ -119,7 +136,13 @@ <tr> <td><strong>{'Tags'|@translate}</strong></td> - <td>{$TAG_SELECTION}</td> + <td> +<select id="tags" name="tags"> +{foreach from=$tags item=tag} + <option value="{$tag.value}" class="selected">{$tag.caption}</option> +{/foreach} +</select> + </td> </tr> |