[Vtigercrm-commits] [vtiger-commits] r10983 - in /vtigercrm/branches/5.0.3/modules/Calendar: CalendarCommon.php language/en_us.lang.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 09:45:37 EDT 2007


Author: richie
Date: Wed May 23 07:45:30 2007
New Revision: 10983

Log:
fix for subject in event invitation mail need to be changed. Fixes #3859 -allen

Modified:
    vtigercrm/branches/5.0.3/modules/Calendar/CalendarCommon.php
    vtigercrm/branches/5.0.3/modules/Calendar/language/en_us.lang.php

Modified: vtigercrm/branches/5.0.3/modules/Calendar/CalendarCommon.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/CalendarCommon.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/CalendarCommon.php Wed May 23 07:45:30 2007
@@ -412,10 +412,11 @@
 
 function sendInvitation($inviteesid,$mode,$subject,$desc)
 {
-	global $current_user;
+	global $current_user,$mod_strings;
 	require_once("modules/Emails/mail.php");
+	$invites=$mod_strings['INVITATION'];
 	$invitees_array = explode(';',$inviteesid);
-	$subject = $mode.' : '.$subject;
+	$subject = $mode.' : '.$invites.$subject;
 	$record = $focus->id;
 	foreach($invitees_array as $inviteeid)
 	{

Modified: vtigercrm/branches/5.0.3/modules/Calendar/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/language/en_us.lang.php Wed May 23 07:45:30 2007
@@ -415,6 +415,8 @@
 'Recurrence'=>'Recurrence',
 'SHARED_EVENT_DEL_MSG'=>'The User does not have permission to Delete this record.',
 
+//added to send invitation mail Subject.
+'INVITATION'=>' Invitations ',
 
 );
 





More information about the vtigercrm-commits mailing list