[Vtigercrm-commits] [vtiger-commits] r5911 - /vtigercrm/trunk/modules/Contacts/CallRelatedList.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 12 06:22:30 EDT 2006
Author: saraj
Date: Fri May 12 04:22:25 2006
New Revision: 5911
Log:
Added Security & Functionality for Add/Chat/Clock/Calc/Menu buttons in Related List - ahmed
Modified:
vtigercrm/trunk/modules/Contacts/CallRelatedList.php
Modified: vtigercrm/trunk/modules/Contacts/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Contacts/CallRelatedList.php Fri May 12 04:22:25 2006
@@ -37,6 +37,13 @@
$campaignid = $adb->query_result($sql1,0,'campaignid');
if($campaignid == 0) $campaignid='';
+global $mod_strings;
+global $app_strings;
+global $theme;
+$theme_path="themes/".$theme."/";
+$image_path=$theme_path."images/";
+require_once($theme_path.'layout_utils.php');
+
$smarty = new vtigerCRM_Smarty;
$smarty->assign("accountid",$accountid);
$smarty->assign("campaignid",$campaignid);
@@ -58,5 +65,12 @@
$smarty->assign("SINGLE_MOD","Contact");
$smarty->assign("ID",$record );
$smarty->assign("UPDATEINFO",updateInfo($focus->id));
+$smarty->assign("MOD",$mod_strings);
+$smarty->assign("APP",$app_strings);
+$smarty->assign("THEME", $theme);
+$smarty->assign("IMAGE_PATH", $image_path);
+
+$check_button = Button_Check($module);
+$smarty->assign("CHECK", $check_button);
$smarty->display("RelatedLists.tpl");
?>
More information about the vtigercrm-commits
mailing list