From 21fc6813022401aea633ca6e6990eab6da9929e6 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 11 Oct 2008 20:18:49 +0000 Subject: jQuery Datepicker: Readd resize for list of categories Use include for double select list git-svn-id: http://piwigo.org/svn/trunk@2718 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/include/resize.inc.tpl | 23 +++++++++++++++++++++++ template/yoga/search.tpl | 8 +++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 template/yoga/include/resize.inc.tpl (limited to 'template/yoga') diff --git a/template/yoga/include/resize.inc.tpl b/template/yoga/include/resize.inc.tpl new file mode 100644 index 000000000..9bd89325f --- /dev/null +++ b/template/yoga/include/resize.inc.tpl @@ -0,0 +1,23 @@ +{* $Id$ *} +{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} +{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"} + +{* Resize possible *} +{literal} + +{/literal} diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 8562cac3d..154954444 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -1,6 +1,12 @@ {* $Id$ *} -{* Example of datepicker +{* Example of resizeable *} +{* +{include file='include/resize.inc.tpl'} +*} + +{* Example of datepicker *} +{* {include file='include/datepicker.inc.tpl'} {literal} -- cgit v1.2.3