Index: /branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php
===================================================================
--- /branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php (revision 4182)
+++ /branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php (revision 4183)
@@ -1792,9 +1792,29 @@
$minical = $this->mini_calendar(
Array(
- 'day' => $this->bo->day,
+ 'day' => 1,
'month' => $this->bo->month,
'year' => $this->bo->year,
'link' => 'day',
'control' => True,
+ 'outside_month' => False
+ )
+ );
+ $minical1 = $this->mini_calendar(
+ Array(
+ 'day' => 1,
+ 'month' => $this->bo->month+1,
+ 'year' => $this->bo->year,
+ 'link' => 'day',
+ 'control' => False,
+ 'outside_month' => False
+ )
+ );
+ $minical2 = $this->mini_calendar(
+ Array(
+ 'day' => 1,
+ 'month' => $this->bo->month+2,
+ 'year' => $this->bo->year,
+ 'link' => 'day',
+ 'control' => False,
'outside_month' => False
)
@@ -1870,5 +1890,5 @@
)
),
- 'small_calendar' => $minical,
+ 'small_calendar' => $minical.'
'.$minical1.'
'.$minical2,
'date' => $this->bo->long_date($now) . $legend_holiday,
'day_of_week' => $week_days[$now['dow']],
@@ -5081,5 +5101,5 @@
Array(
'day' => 1,
- 'month' => $this->bo->month -1,
+ 'month' => $this->bo->month,
'year' => $this->bo->year,
'link' => 'week',
@@ -5092,5 +5112,5 @@
Array(
'day' => 1,
- 'month' => $this->bo->month + 1,
+ 'month' => $this->bo->month+2,
'year' => $this->bo->year,
'link' => 'week',
@@ -5103,5 +5123,5 @@
Array(
'day' => 1,
- 'month' => $this->bo->month,
+ 'month' => $this->bo->month+1,
'year' => $this->bo->year,
'link' => 'week',
@@ -5175,5 +5195,5 @@
'month' => $this->bo->month -1,
'year' => $this->bo->year,
- 'link' => 'week',
+ 'link' => 'day',
'control' => False,
'outside_month' => False
@@ -5186,5 +5206,5 @@
'month' => $this->bo->month + 2,
'year' => $this->bo->year,
- 'link' => 'week',
+ 'link' => 'day',
'control' => False,
'outside_month' => False
@@ -5197,5 +5217,5 @@
'month' => $this->bo->month + 1,
'year' => $this->bo->year,
- 'link' => 'week',
+ 'link' => 'day',
'control' => False,
'outside_month' => False