[Vtigercrm-commits] [vtiger-commits] r10268 - in /vtigercrm/branches/5.0.3/include: language/en_us.lang.php utils/ListViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 28 02:50:32 EST 2007


Author: saraj
Date: Wed Feb 28 00:50:22 2007
New Revision: 10268

Log:
i18n support for email listview header

Modified:
    vtigercrm/branches/5.0.3/include/language/en_us.lang.php
    vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php

Modified: vtigercrm/branches/5.0.3/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/include/language/en_us.lang.php Wed Feb 28 00:50:22 2007
@@ -356,6 +356,7 @@
 'Type' => 'Type',
 'Start Date/Due Date' => 'Start Date/Due Date',
 'Date Sent' => 'Date Sent',
+'Sender'=>'Sender',
 'Ticket ID' => 'Ticket ID',
 'Status' => 'Status',
 'Priority' => 'Priority',

Modified: vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php Wed Feb 28 00:50:22 2007
@@ -210,7 +210,14 @@
 	}
      }
 
-	//Added for Action - edit and delete link header in listview
+	        //Added i18n support for email listview header
+		       if($module == "Emails")
+		       {
+			               $list_header[] = $app_strings["Subject"];
+			               $list_header[] = $app_strings["Sender"];
+			               $list_header[] = $app_strings["Date Sent"];
+		       }
+	//Added for Action - edit and delete link header in listview		
 	$list_header[] = $app_strings["LBL_ACTION"];
 
 	$log->debug("Exiting getListViewHeader method ...");





More information about the vtigercrm-commits mailing list