From 665a96fb82314b1836a4dcedc1e52b25c202a25b Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Tue, 27 Sep 2011 14:31:35 +0200 Subject: added event-calendar-filter-period-PERIOD class to datepicker wrapper div --- views/default/input/datepicker_inline.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views/default/input/datepicker_inline.php') diff --git a/views/default/input/datepicker_inline.php b/views/default/input/datepicker_inline.php index 69520b9ef..bcb7c85f5 100644 --- a/views/default/input/datepicker_inline.php +++ b/views/default/input/datepicker_inline.php @@ -21,6 +21,12 @@ if ($vars['mode'] == 'week') { } else { $selected_week = ''; } + +if ($vars['mode']) { + $wrapper_class = "event-calendar-filter-period-".$vars['mode']; +} else { + $wrapper_class = "event-calendar-filter-period-month"; +} // TODO - figure out how to move this JavaScript ?> @@ -74,5 +80,5 @@ var done_loading = true; }); -
+

\ No newline at end of file -- cgit v1.2.3