[Vtigercrm-commits] [vtiger-commits] r5908 - /vtigercrm/trunk/modules/Activities/CallRelatedList.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 12 06:12:35 EDT 2006
Author: saraj
Date: Fri May 12 04:12:31 2006
New Revision: 5908
Log:
Added Security & Functionality for Add/Chat/Clock/Calc/Menu buttons in Related List - ahmed
Modified:
vtigercrm/trunk/modules/Activities/CallRelatedList.php
Modified: vtigercrm/trunk/modules/Activities/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Activities/CallRelatedList.php Fri May 12 04:12:31 2006
@@ -11,6 +11,7 @@
require_once('Smarty_setup.php');
+require_once('include/utils/utils.php');
require_once('modules/Activities/Activity.php');
global $mod_strings;
global $app_strings;
@@ -26,6 +27,11 @@
$log->debug("id is ".$focus->id);
$log->debug("name is ".$focus->name);
}
+
+global $theme;
+$theme_path="themes/".$theme."/";
+$image_path=$theme_path."images/";
+require_once($theme_path.'layout_utils.php');
$smarty = new vtigerCRM_Smarty;
@@ -43,6 +49,13 @@
$smarty->assign("SINGLE_MOD", "Activity");
$smarty->assign("ACTIVITY_MODE",'Events');
$smarty->assign("MODULE", $MODULE);
+$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