aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/picture_modify.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-02 21:56:54 +0000
committermistic100 <mistic@piwigo.org>2014-06-02 21:56:54 +0000
commit4c1066c8f6dd05ca589ae89d48c54c95fdf7a2f7 (patch)
treee3428b6cab115cf041bf0857cb1f8725c7e9bd91 /admin/themes/default/template/picture_modify.tpl
parent30291228bf7e1ade216dc90b6c49ec42233bb13d (diff)
redefine selectize templates without escaping + translate "Add"
git-svn-id: http://piwigo.org/svn/trunk@28613 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/picture_modify.tpl')
-rw-r--r--admin/themes/default/template/picture_modify.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl
index 21033be92..45aeb7fd0 100644
--- a/admin/themes/default/template/picture_modify.tpl
+++ b/admin/themes/default/template/picture_modify.tpl
@@ -25,7 +25,9 @@ var tagsCache = new TagsCache({
rootUrl: '{$ROOT_URL}'
});
-tagsCache.selectize(jQuery('[data-selectize=tags]'));
+tagsCache.selectize(jQuery('[data-selectize=tags]'), { lang: {
+ 'Add': '{'Create'|translate}'
+}});
{* <!-- DATEPICKER --> *}
jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}