From c2ce7dfa7e16b2eac7e6c0e6ddaef9cb5e2a6952 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 30 Jul 2007 12:13:26 +0000 Subject: changed so day and month names are derived from calendar lang file instead of being hard-coded. --- system/plugins/js_calendar_pi.php | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) (limited to 'system') diff --git a/system/plugins/js_calendar_pi.php b/system/plugins/js_calendar_pi.php index a461e34a7..686dcdf76 100644 --- a/system/plugins/js_calendar_pi.php +++ b/system/plugins/js_calendar_pi.php @@ -30,10 +30,10 @@ The above function will be passed the name of your form. Then to show the actual calendar you'll do this: - +
-

Today

+

Today

@@ -126,15 +126,37 @@ Lastly, you'll need some CSS for your calendar: function js_calendar_script($form_name = 'entryform') { - +$CI =& get_instance(); +$CI->load->language('calendar'); ob_start(); ?>