From 914b6d96d2cae67507ef848a7a229fd5319d7968 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 17 May 2014 22:04:36 +0000 Subject: feature 3080 : simpler date inputs (one input + fontello + picker selects) git-svn-id: http://piwigo.org/svn/trunk@28497 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/history.tpl | 45 +++++++++++++------------------ 1 file changed, 19 insertions(+), 26 deletions(-) (limited to 'admin/themes/default/template/history.tpl') diff --git a/admin/themes/default/template/history.tpl b/admin/themes/default/template/history.tpl index 3fe4e738d..fcdc67d8b 100644 --- a/admin/themes/default/template/history.tpl +++ b/admin/themes/default/template/history.tpl @@ -1,10 +1,11 @@ {include file='include/datepicker.inc.tpl'} -{footer_script}{literal} - pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date"); - pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null); -{/literal}{/footer_script} +{footer_script} +jQuery(function(){ {* *} + jQuery('[data-datepicker]').pwgDatepicker(); +}); +{/footer_script}

{'History'|@translate} {$TABSHEET_TITLE}

@@ -14,33 +15,25 @@ -- cgit v1.2.3