|
From: Jon O. <jon...@us...> - 2006-08-17 12:41:26
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29589/modules/mx_calsnails Modified Files: mx_calendar_events.php Log Message: fix for new parameter Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** mx_calendar_events.php 17 Aug 2006 12:38:42 -0000 1.22 --- mx_calendar_events.php 17 Aug 2006 12:41:22 -0000 1.23 *************** *** 134,138 **** case CALRANGE_THIS_AND_NEXT_WEEK: $tmp_time = time(); ! $tmp_dir = ( true ) ? 1 : -1; while ( $cal_config['week_start'] != gmdate( 'w', $tmp_time ) ) { --- 134,138 ---- case CALRANGE_THIS_AND_NEXT_WEEK: $tmp_time = time(); ! $tmp_dir = ( false ) ? 1 : -1; while ( $cal_config['week_start'] != gmdate( 'w', $tmp_time ) ) { *************** *** 286,289 **** --- 286,292 ---- $events_label = $lang['Ev_next_week'] . '' . $nextweek; break; + case CALRANGE_THIS_AND_NEXT_WEEK: + $events_label = $lang['Ev_this_week'] . '' . $currentweek . ' - ' . $nextweek; + break; case CALRANGE_NEXT_MONTH: $events_label = $lang['Ev_next_month'] . ' (' . $nextmonthname . ')'; |