[Vtigercrm-commits] [vtiger-commits] r6189 - /vtigercrm/trunk/modules/Calendar/new_calendar.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri May 19 11:32:30 EDT 2006


Author: saraj
Date: Fri May 19 09:32:26 2006
New Revision: 6189

Log:
changes made for yearview integration

Modified:
    vtigercrm/trunk/modules/Calendar/new_calendar.php

Modified: vtigercrm/trunk/modules/Calendar/new_calendar.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/new_calendar.php (original)
+++ vtigercrm/trunk/modules/Calendar/new_calendar.php Fri May 19 09:32:26 2006
@@ -53,16 +53,13 @@
 	);
 	
 }
-//echo '<pre>';print_r($date_data);echo '</pre>';
 $calendar_arr['calendar'] = new Calendar($mysel,$date_data); 
-//echo '<pre>';print_r($calendar_arr['calendar']);echo '</pre>';
-if ($mysel == 'day' || $mysel == 'week' || $mysel == 'month')
+if ($mysel == 'day' || $mysel == 'week' || $mysel == 'month' || $mysel == 'year')
 {
         global $current_user;
         $calendar_arr['calendar']->add_Activities($current_user);
 }
 $calendar_arr['view'] = $mysel;
 calendar_layout($calendar_arr);
-//echo '<pre>';print_r($calendar_arr);echo'</pre>';
 ?>
 





More information about the vtigercrm-commits mailing list