[Vtigercrm-commits] [vtiger-commits] r9830 - in /vtigercrm/branches/5.0.3/modules/Emails: DetailView.php EditView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 14 05:32:47 EST 2006


Author: richie
Date: Tue Nov 14 03:32:41 2006
New Revision: 9830

Log:
Language support added for header. Fixes #2584

Modified:
    vtigercrm/branches/5.0.3/modules/Emails/DetailView.php
    vtigercrm/branches/5.0.3/modules/Emails/EditView.php

Modified: vtigercrm/branches/5.0.3/modules/Emails/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Emails/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Emails/DetailView.php Tue Nov 14 03:32:41 2006
@@ -132,7 +132,8 @@
 
 $entries = getBlocks($currentModule,"detail_view",'',$focus->column_fields);
 $entries['Email Information']['4']['Description']['value'] = from_html($entries['Email Information']['4']['Description']['value']);
-$smarty->assign("BLOCKS", $entries['Email Information']);
+//changed this to view description in all langauge - bharath
+$smarty->assign("BLOCKS",$entries[$mod_strings['LBL_EMAIL_INFORMATION']]); 
 $smarty->assign("SINGLE_MOD", 'Email');
 
 $smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);

Modified: vtigercrm/branches/5.0.3/modules/Emails/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Emails/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Emails/EditView.php Tue Nov 14 03:32:41 2006
@@ -163,7 +163,8 @@
 
 $disp_view = getView($focus->mode);
 $details = getBlocks($currentModule,$disp_view,$mode,$focus->column_fields);
-$smarty->assign("BLOCKS",$details['Email Information']);
+//changed this below line to view description in all language - bharath
+$smarty->assign("BLOCKS",$details[$mod_strings['LBL_EMAIL_INFORMATION']]); 
 $smarty->assign("MODULE",$currentModule);
 $smarty->assign("SINGLE_MOD",$app_strings['Email']);
 





More information about the vtigercrm-commits mailing list