[Vtigercrm-commits] [vtiger-commits] r9314 - /vtigercrm/trunk/modules/Calendar/calendarLayout.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Sep 6 05:50:50 EDT 2006
Author: saraj
Date: Wed Sep 6 03:50:46 2006
New Revision: 9314
Log:
changes made to differentiate shared events form others --Minnie
Modified:
vtigercrm/trunk/modules/Calendar/calendarLayout.php
Modified: vtigercrm/trunk/modules/Calendar/calendarLayout.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/calendarLayout.php (original)
+++ vtigercrm/trunk/modules/Calendar/calendarLayout.php Wed Sep 6 03:50:46 2006
@@ -1106,6 +1106,7 @@
$end_hour = $value['endhour'] .':'.$value['endmin'].''.$value['endfmt'];
$account_name = $act[$i]->accountname;
$eventstatus = $act[$i]->eventstatus;
+ $shared = $act[$i]->shared;
$color = $act[$i]->color;
$image = $cal['IMAGE_PATH'].''.$act[$i]->image_name;
$height = $rowspan * 75;
@@ -1129,6 +1130,10 @@
<td width="100%"><b>'.$start_hour.' - '.$end_hour.'</b></td>
</tr>';
$eventlayer .= '<tr><td>';
+ if($shared)
+ $eventlayer .= '<img src="'.$cal['IMAGE_PATH'].'cal12x12Shared.gif" align="middle" border="0">';
+ else
+ $eventlayer .= ' ';
$eventlayer .= '</td>
<td><a href="index.php?action=DetailView&module=Calendar&record='.$id.'&activity_mode=Events&viewtype=calendar&parenttab='.$category.'"><span class="orgTab">'.$subject.'</span></a></td>
</tr>
@@ -1185,6 +1190,7 @@
$end_hour = $value['endhour'] .':'.$value['endmin'].''.$value['endfmt'];
$account_name = $act[$i]->accountname;
$eventstatus = $act[$i]->eventstatus;
+ $shared = $act[$i]->shared;
$user = $act[$i]->owner;
$priority = $act[$i]->priority;
$image = $cal['IMAGE_PATH'].''.$act[$i]->image_name;
@@ -1200,7 +1206,13 @@
<td width="100%"><b>'.$start_hour.' - '.$end_hour.'</b></td>
</tr>
<tr>
- <td> </td>
+ <td>';
+ if($shared)
+ $eventlayer .= '<img src="'.$cal['IMAGE_PATH'].'cal12x12Shared.gif" align="middle" border="0">';
+ else
+ $eventlayer .= ' ';
+ $eventlayer .= '
+ </td>
<td><a href="index.php?action=DetailView&module=Calendar&record='.$id.'&activity_mode=Events&viewtype=calendar&parenttab='.$category.'"><span class="orgTab">'.$subject.'</span></a></td>
</tr>
<tr><td>'.$action_str.'</td><td>('.$user.' | '.$eventstatus.' | '.$priority.')</td>
More information about the vtigercrm-commits
mailing list