[Vtigercrm-commits] [vtiger-commits] r5920 - /vtigercrm/trunk/modules/Webmails/CallRelatedList.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri May 12 06:39:30 EDT 2006


Author: saraj
Date: Fri May 12 04:39:24 2006
New Revision: 5920

Log:
Added Security & Functionality for Add/Chat/Clock/Calc/Menu buttons  in Related List - ahmed

Modified:
    vtigercrm/trunk/modules/Webmails/CallRelatedList.php

Modified: vtigercrm/trunk/modules/Webmails/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Webmails/CallRelatedList.php Fri May 12 04:39:24 2006
@@ -65,6 +65,13 @@
 	$block["Accounts"]["entries"]= array("0"=>array($adb->query_result($rs,0,'accountname'),"1"=>$adb->query_result($rs,0,'email'),2=>$adb->query_result($rs,0,'website'),3=>$adb->query_result($rs,0,'industry'),4=>$adb->query_result($rs,0,'smownerid')));
 }
 
+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("CATEGORY","My Home Page");
 $smarty->assign("id",$_REQUEST["record"]);
@@ -74,5 +81,12 @@
 $smarty->assign("REDIR_MOD","Webmails");
 $smarty->assign("MODULE", "Webmails");
 $smarty->assign("ID",$_REQUEST["record"] );
+$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