From 6a7990869a7e31b29685cfd25057826fcbdb969d Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Wed, 16 Oct 2013 18:26:00 +0200 Subject: [PATCH] // Range datepicker special compare actions --- .../template/helpers/calendar/calendar.tpl | 121 ++++++++++++++++-- classes/helper/HelperCalendar.php | 29 +++++ 2 files changed, 138 insertions(+), 12 deletions(-) diff --git a/admin-dev/themes/default/template/helpers/calendar/calendar.tpl b/admin-dev/themes/default/template/helpers/calendar/calendar.tpl index 786a17df4..ceaaebbfb 100644 --- a/admin-dev/themes/default/template/helpers/calendar/calendar.tpl +++ b/admin-dev/themes/default/template/helpers/calendar/calendar.tpl @@ -22,15 +22,15 @@ {l s='Date range'} {if isset($actions) && $actions|count > 0} {if $actions|count > 1} - + + {else} {if isset($actions[0].icon)} {/if}{$actions[0].label} {/if} @@ -51,11 +51,21 @@ {l s='Compare to'} - - +