From 3a076f460d89628e75a7e9e693be0c3962ac2c39 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 19 Mar 2010 12:50:19 +0000 Subject: feature 724: FCBKcomplete propagated to element_set_global and element_set_unit to manage tags. Note: multiple instances of FCBKcomplete on the same page does not work as good as a single instance. git-svn-id: http://piwigo.org/svn/trunk@5188 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../themes/default/template/element_set_global.tpl | 26 ++++++++++++++++++- admin/themes/default/template/element_set_unit.tpl | 29 +++++++++++++++++++++- 2 files changed, 53 insertions(+), 2 deletions(-) (limited to 'admin/themes/default') diff --git a/admin/themes/default/template/element_set_global.tpl b/admin/themes/default/template/element_set_global.tpl index fffea3f09..6291013ad 100644 --- a/admin/themes/default/template/element_set_global.tpl +++ b/admin/themes/default/template/element_set_global.tpl @@ -7,6 +7,24 @@ {/literal} +{known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} +{literal} + +{/literal} +

{'Batch management'|@translate}

{$CATEGORIES_NAV}

@@ -108,7 +126,13 @@ {'add tags'|@translate} - {if !empty($ADD_TAG_SELECTION)}{$ADD_TAG_SELECTION}{else}

{'No tag defined. Use Administration>Pictures>Tags'|@translate}

{/if} + + + {if !empty($DEL_TAG_SELECTION)} diff --git a/admin/themes/default/template/element_set_unit.tpl b/admin/themes/default/template/element_set_unit.tpl index 4e188590b..d31b5a95c 100644 --- a/admin/themes/default/template/element_set_unit.tpl +++ b/admin/themes/default/template/element_set_unit.tpl @@ -2,6 +2,25 @@ {include file='include/autosize.inc.tpl'} {include file='include/datepicker.inc.tpl'} +{known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} +{literal} + +{/literal} + +

{'Batch management'|@translate}

{$CATEGORIES_NAV}

@@ -75,7 +94,15 @@ {'Tags'|@translate} - {$element.TAG_SELECTION} + + + + + -- cgit v1.2.3