[Vtigercrm-commits] [vtiger-commits] r10868 - /vtigercrm/branches/5.0.3/modules/Calendar/calendarLayout.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 11 09:36:14 EDT 2007
Author: richie
Date: Fri May 11 07:36:08 2007
New Revision: 10868
Log:
fix for i18n issue at calendar->task. Fixes #3756 --minnie
Modified:
vtigercrm/branches/5.0.3/modules/Calendar/calendarLayout.php
Modified: vtigercrm/branches/5.0.3/modules/Calendar/calendarLayout.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/calendarLayout.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/calendarLayout.php Fri May 11 07:36:08 2007
@@ -1447,7 +1447,6 @@
$contact_name = getContactName($contact_id);
}
- $status = $adb->query_result($result,$i,"status");
$more_link = "<a href='index.php?action=DetailView&module=Calendar&record=".$id."&activity_mode=Task&viewtype=calendar&parenttab=".$category."' class='webMnu'>".$subject."</a>";
$element['tododetail'] = $more_link;
if(getFieldVisibilityPermission('Calendar',$current_user->id,'parent_id') == '0')
@@ -1460,7 +1459,7 @@
}
if(getFieldVisibilityPermission('Calendar',$current_user->id,'taskstatus') == '0')
{
- $element['status'] = $adb->query_result($result,$i,"status");
+ $element['status'] = $mod_strings[$adb->query_result($result,$i,"status")];
}
if(isPermitted("Calendar","EditView") == "yes" || isPermitted("Calendar","Delete") == "yes")
$element['action'] ="<img onClick='getcalAction(this,\"taskcalAction\",".$id.",\"".$calendar['view']."\",\"".$calendar['calendar']->date_time->hour."\",\"".$calendar['calendar']->date_time->get_formatted_date()."\",\"todo\",\"normal\");' src='".$calendar['IMAGE_PATH']."cal_event.jpg' border='0'>";
More information about the vtigercrm-commits
mailing list