From fb5cc257c7618f01a5f9b32047bf5239c1e6a07d Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Tue, 21 Feb 2006 12:55:52 +0000 Subject: use jscalendar function --- templates/calendar_nav_inc.tpl | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'templates') diff --git a/templates/calendar_nav_inc.tpl b/templates/calendar_nav_inc.tpl index 915a335..9064a5d 100644 --- a/templates/calendar_nav_inc.tpl +++ b/templates/calendar_nav_inc.tpl @@ -1,3 +1,4 @@ +{strip} - - Calendar.setup( {ldelim} - date : "{$navigation.focus_date|bit_date_format:"%m/%d/%Y %H:%M"}", // initial date - inputField : "todate", // ID of the input field - ifFormat : "%s", // the date format - displayArea : "datrigger", // ID of the span where the date is to be shown - daFormat : "{"%d/%m/%Y %H:%M"}", // format of the displayed date - electric : false, - onUpdate : gotocal - {rdelim} ); - //]]> + {jscalendar inputField=todate time=$navigation.focus_date onUpdate=gotocal displayArea=datrigger} -{strip} {biticon ipackage=calendar iname=day iexplain=Day} {biticon ipackage=calendar iname=week iexplain=Week} {biticon ipackage=calendar iname=weeklist iexplain=Weeklist} {biticon ipackage=calendar iname=month iexplain=Month} -{/strip} {else} -{strip}
@@ -85,5 +75,5 @@
-{/strip} {/if} +{/strip} -- cgit v1.3