[Vtigercrm-commits] [vtiger-commits] r5918 - /vtigercrm/trunk/modules/Potentials/CallRelatedList.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri May 12 06:33:31 EDT 2006


Author: saraj
Date: Fri May 12 04:33:28 2006
New Revision: 5918

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

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

Modified: vtigercrm/trunk/modules/Potentials/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Potentials/CallRelatedList.php Fri May 12 04:33:28 2006
@@ -24,6 +24,13 @@
 $log->debug("name is ".$focus->name);
 }
 
+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;
 
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
@@ -39,6 +46,13 @@
 $smarty->assign("ID",$RECORD );
 $smarty->assign("MODULE",$currentmodule);
 $smarty->assign("SINGLE_MOD","Potential");
+$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