[Vtigercrm-commits] [vtiger-commits] r6927 - in /vtigercrm/trunk/modules: Accounts/DetailView.php Activities/DetailView.php Campaigns/DetailView.php Contacts/DetailView.php Emails/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 7 05:57:26 EDT 2006


Author: saraj
Date: Wed Jun  7 03:57:11 2006
New Revision: 6927

Log:
i18n updated - ahmed

Modified:
    vtigercrm/trunk/modules/Accounts/DetailView.php
    vtigercrm/trunk/modules/Activities/DetailView.php
    vtigercrm/trunk/modules/Campaigns/DetailView.php
    vtigercrm/trunk/modules/Contacts/DetailView.php
    vtigercrm/trunk/modules/Emails/DetailView.php

Modified: vtigercrm/trunk/modules/Accounts/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/DetailView.php (original)
+++ vtigercrm/trunk/modules/Accounts/DetailView.php Wed Jun  7 03:57:11 2006
@@ -29,7 +29,7 @@
 global $mod_strings;
 global $app_strings;
 global $app_list_strings;
-global $log;
+global $log, $currentModule;
 
 $focus = new Account();
 if(isset($_REQUEST['record']) && isset($_REQUEST['record'])) {
@@ -108,6 +108,6 @@
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
 
-$smarty->assign("MODULE","Accounts");
+$smarty->assign("MODULE",$currentModule);
 $smarty->display("DetailView.tpl");
 ?>

Modified: vtigercrm/trunk/modules/Activities/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/DetailView.php (original)
+++ vtigercrm/trunk/modules/Activities/DetailView.php Wed Jun  7 03:57:11 2006
@@ -28,7 +28,7 @@
 require_once('include/database/PearDatabase.php');
 require_once('include/utils/utils.php');
 require_once('include/utils/utils.php');
-global $mod_strings;
+global $mod_strings, $currentModule;
 if( $_SESSION['mail_send_error']!="")
 {
 	echo '<b><font color=red>'. $mod_strings{"LBL_NOTIFICATION_ERROR"}.'</font></b><br>';
@@ -148,7 +148,7 @@
  $smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
  $smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
 
-$smarty->assign("MODULE",$app_strings['Activities']);
+$smarty->assign("MODULE",$currentModule);
 $smarty->display("DetailView.tpl");
 
 ?>

Modified: vtigercrm/trunk/modules/Campaigns/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/DetailView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/DetailView.php Wed Jun  7 03:57:11 2006
@@ -68,7 +68,7 @@
 $check_button = Button_Check($module);
 $smarty->assign("CHECK", $check_button);
 
-$smarty->assign("MODULE",$app_strings['Campaigns']);
+$smarty->assign("MODULE",$currentModule);
 $smarty->display("DetailView.tpl");
 $focus->id = $_REQUEST['record'];
 

Modified: vtigercrm/trunk/modules/Contacts/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/DetailView.php (original)
+++ vtigercrm/trunk/modules/Contacts/DetailView.php Wed Jun  7 03:57:11 2006
@@ -121,7 +121,7 @@
 $smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
 $smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
 
-$smarty->assign("MODULE",$app_strings['Contacts']);
+$smarty->assign("MODULE",$currentModule);
 $smarty->display("DetailView.tpl");
 ?>
 

Modified: vtigercrm/trunk/modules/Emails/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/DetailView.php (original)
+++ vtigercrm/trunk/modules/Emails/DetailView.php Wed Jun  7 03:57:11 2006
@@ -156,7 +156,7 @@
 $smarty->assign("CHECK", $check_button);
 	
 //Constructing the Related Lists from here
-$smarty->assign("MODULE",$app_strings['Emails']);
+$smarty->assign("MODULE",$currentModule);
 $smarty->assign("SENDER",$email_id);
 if($_REQUEST['mode'] != 'ajax')
 	$smarty->display("DetailView.tpl");





More information about the vtigercrm-commits mailing list