[Vtigercrm-commits] [vtiger-commits] r5912 - /vtigercrm/trunk/modules/Emails/CallRelatedList.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 12 06:22:59 EDT 2006
Author: saraj
Date: Fri May 12 04:22:53 2006
New Revision: 5912
Log:
Added Security & Functionality for Add/Chat/Clock/Calc/Menu buttons in Related List - ahmed
Modified:
vtigercrm/trunk/modules/Emails/CallRelatedList.php
Modified: vtigercrm/trunk/modules/Emails/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Emails/CallRelatedList.php Fri May 12 04:22:53 2006
@@ -12,6 +12,8 @@
require_once('Smarty_setup.php');
require_once('modules/Emails/Email.php');
+require_once('include/utils/utils.php');
+
$focus = new Email();
$currentmodule = $_REQUEST['module'];
$RECORD = $_REQUEST['record'];
@@ -26,6 +28,13 @@
}
+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($focus->name)) $smarty->assign("NAME", $focus->name);
@@ -39,5 +48,13 @@
$smarty->assign("MODULE",$currentmodule);
$smarty->assign("SINGLE_MOD","Email");
$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