[Vtigercrm-commits] [vtiger-commits] r7944 - /vtigercrm/trunk/include/quickcreate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jul 10 09:55:25 EDT 2006
Author: saraj
Date: Mon Jul 10 07:55:21 2006
New Revision: 7944
Log:
Change the module name to singular in quickcreate - ahmed
Modified:
vtigercrm/trunk/include/quickcreate.php
Modified: vtigercrm/trunk/include/quickcreate.php
==============================================================================
--- vtigercrm/trunk/include/quickcreate.php (original)
+++ vtigercrm/trunk/include/quickcreate.php Mon Jul 10 07:55:21 2006
@@ -35,7 +35,12 @@
$smarty->assign("MOD",$mod_strings);
$smarty->assign("THEME",$theme);
$smarty->assign("IMAGE_PATH",$image_path);
-$smarty->assign("MODULE",$module);
+if($module == 'Activities')
+ $smarty->assign("MODULE", $app_strings['Task']);
+elseif($module == "HelpDesk")
+ $smarty->assign("MODULE", $app_strings['Ticket']);
+else
+ $smarty->assign("MODULE",rtrim($module,'s'));
$smarty->assign("USERID",$current_user->id);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
More information about the vtigercrm-commits
mailing list