[Vtigercrm-commits] [vtiger-commits] r5844 - /vtigercrm/trunk/modules/Calendar/CalendarAjax.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 10:11:14 EDT 2006


Author: saraj
Date: Wed May 10 08:11:10 2006
New Revision: 5844

Log:
changes made for new calendar UI

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

Modified: vtigercrm/trunk/modules/Calendar/CalendarAjax.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/CalendarAjax.php (original)
+++ vtigercrm/trunk/modules/Calendar/CalendarAjax.php Wed May 10 08:11:10 2006
@@ -50,6 +50,11 @@
         	$date_data['year'] = $_REQUEST['year'];
 	}
 	$calendar_arr['calendar'] = new Calendar($mysel,$date_data);
+	if ($mysel == 'day' || $mysel == 'week' || $mysel == 'month')
+	{
+		global $current_user;
+		$calendar_arr['calendar']->add_Activities($current_user);
+	}
 	$calendar_arr['view'] = $mysel;
 	if($type == 'hourview')
 	{





More information about the vtigercrm-commits mailing list