|
From: Jon O. <jon...@us...> - 2005-10-02 19:15:34
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7078/modules/mx_calsnails Modified Files: mx_calendar_events.php Log Message: badly formatting mxBB parameters...updated Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_calendar_events.php 22 Sep 2005 10:08:05 -0000 1.9 --- mx_calendar_events.php 1 Oct 2005 08:52:05 -0000 1.10 *************** *** 62,69 **** define( 'CALRANGE_TODAY' , 'today' ); ! define( 'CALRANGE_THIS_WEEK' , 'this day' ); ! define( 'CALRANGE_NEXT_WEEK' , 'next day' ); ! define( 'CALRANGE_THIS_MONTH', 'this week' ); ! define( 'CALRANGE_NEXT_MONTH', 'next week' ); // Check parameters: assign default values if the module is not correctly installed. --- 62,69 ---- define( 'CALRANGE_TODAY' , 'today' ); ! define( 'CALRANGE_THIS_WEEK' , 'this week' ); ! define( 'CALRANGE_NEXT_WEEK' , 'next week' ); ! define( 'CALRANGE_THIS_MONTH', 'this month' ); ! define( 'CALRANGE_NEXT_MONTH', 'next month' ); // Check parameters: assign default values if the module is not correctly installed. *************** *** 97,122 **** $cal_page_filter = $cal_block_config[$cal_block_id]['cal_filter']['parameter_value'] == 'TRUE'; - /* - - $temp_list2 = $_SESSION['mx_pages']; - - while ( list( $page_idd, $page_roww ) = each( $temp_list2 ) ) - { - $block_countt = count( $page_roww['blocks'] ); - - for( $j = 0; $j < $block_countt; $j++ ) - { - $block_idd = $page_roww['blocks'][$j]['block_id']; - - if ( $cal_block_id == $block_idd ) - { - $cal_page_id = str_replace( 'page_', '', $page_idd ); - $cal_page_filter = $_SESSION['block_' . $cal_block_id]['cal_filter']['parameter_value'] == 'TRUE'; - break; - } - } - } - */ - // Security Check --- 97,100 ---- *************** *** 289,293 **** // Compute top label. - switch ( $events_range ) { --- 267,270 ---- |