[Vtigercrm-commits] [vtiger-commits] r9579 - in /vtigercrm/branches/5.0.1/modules: Accounts/ Campaigns/ Contacts/ HelpDesk/ Leads/ Notes/ Potentials/ PriceBooks/ Products/ Vendors/
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Oct 6 11:36:54 EDT 2006
Author: richie
Date: Fri Oct 6 09:36:41 2006
New Revision: 9579
Log:
* Modified the SINGLE_MOD value from app_strings to hardcoded value because this value displayed from language string in tpl file
Modified:
vtigercrm/branches/5.0.1/modules/Accounts/EditView.php
vtigercrm/branches/5.0.1/modules/Campaigns/EditView.php
vtigercrm/branches/5.0.1/modules/Contacts/EditView.php
vtigercrm/branches/5.0.1/modules/HelpDesk/EditView.php
vtigercrm/branches/5.0.1/modules/Leads/EditView.php
vtigercrm/branches/5.0.1/modules/Notes/EditView.php
vtigercrm/branches/5.0.1/modules/Potentials/EditView.php
vtigercrm/branches/5.0.1/modules/PriceBooks/EditView.php
vtigercrm/branches/5.0.1/modules/Products/EditView.php
vtigercrm/branches/5.0.1/modules/Vendors/EditView.php
Modified: vtigercrm/branches/5.0.1/modules/Accounts/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Accounts/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Accounts/EditView.php Fri Oct 6 09:36:41 2006
@@ -95,7 +95,7 @@
$smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("ID", $focus->id);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Account']);
+$smarty->assign("SINGLE_MOD",'Account');
$smarty->assign("CALENDAR_LANG", $app_strings['LBL_JSCALENDAR_LANG']);
$smarty->assign("CALENDAR_DATEFORMAT", parse_calendardate($app_strings['NTC_DATE_FORMAT']));
Modified: vtigercrm/branches/5.0.1/modules/Campaigns/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Campaigns/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Campaigns/EditView.php Fri Oct 6 09:36:41 2006
@@ -47,7 +47,7 @@
$smarty->assign("OP_MODE",$disp_view);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Campaign']);
+$smarty->assign("SINGLE_MOD",'Campaign');
$category = getParentTab();
Modified: vtigercrm/branches/5.0.1/modules/Contacts/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Contacts/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Contacts/EditView.php Fri Oct 6 09:36:41 2006
@@ -134,7 +134,7 @@
}
$smarty->assign("ID", $focus->id);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Contact']);
+$smarty->assign("SINGLE_MOD",'Contact');
if($focus->mode == 'edit')
{
Modified: vtigercrm/branches/5.0.1/modules/HelpDesk/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/HelpDesk/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/HelpDesk/EditView.php Fri Oct 6 09:36:41 2006
@@ -52,7 +52,7 @@
$smarty->assign("OP_MODE",$disp_view);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Ticket']);
+$smarty->assign("SINGLE_MOD",'Ticket');
$category = getParentTab();
Modified: vtigercrm/branches/5.0.1/modules/Leads/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Leads/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Leads/EditView.php Fri Oct 6 09:36:41 2006
@@ -89,7 +89,7 @@
$smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id());
$smarty->assign("ID", $focus->id);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Lead']);
+$smarty->assign("SINGLE_MOD",'Lead');
$smarty->assign("HEADER", get_module_title("Leads", "{MOD.LBL_LEAD} ".$focus->firstname." ".$focus->lastname, true));
Modified: vtigercrm/branches/5.0.1/modules/Notes/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Notes/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Notes/EditView.php Fri Oct 6 09:36:41 2006
@@ -110,7 +110,7 @@
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Note']);
+$smarty->assign("SINGLE_MOD",'Note');
//Display the FCKEditor or not? -- configure $FCKEDITOR_DISPLAY in config.php
$smarty->assign("FCKEDITOR_DISPLAY",$FCKEDITOR_DISPLAY);
Modified: vtigercrm/branches/5.0.1/modules/Potentials/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Potentials/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Potentials/EditView.php Fri Oct 6 09:36:41 2006
@@ -119,7 +119,7 @@
$smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
$smarty->assign("ID", $focus->id);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Potential']);
+$smarty->assign("SINGLE_MOD",'Potential');
$tabid = getTabid("Potentials");
Modified: vtigercrm/branches/5.0.1/modules/PriceBooks/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/PriceBooks/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/PriceBooks/EditView.php Fri Oct 6 09:36:41 2006
@@ -50,7 +50,7 @@
$smarty->assign("OP_MODE",$disp_view);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['PriceBook']);
+$smarty->assign("SINGLE_MOD",'PriceBook');
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
Modified: vtigercrm/branches/5.0.1/modules/Products/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Products/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Products/EditView.php Fri Oct 6 09:36:41 2006
@@ -95,7 +95,7 @@
$smarty->assign("OP_MODE",$disp_view);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Product']);
+$smarty->assign("SINGLE_MOD",'Product');
$smarty->assign("MOD", $mod_strings);
Modified: vtigercrm/branches/5.0.1/modules/Vendors/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Vendors/EditView.php (original)
+++ vtigercrm/branches/5.0.1/modules/Vendors/EditView.php Fri Oct 6 09:36:41 2006
@@ -54,7 +54,7 @@
$smarty->assign("OP_MODE",$disp_view);
$smarty->assign("MODULE",$currentModule);
-$smarty->assign("SINGLE_MOD",$app_strings['Vendor']);
+$smarty->assign("SINGLE_MOD",'Vendor');
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
More information about the vtigercrm-commits
mailing list