[Vtigercrm-commits] [vtiger-commits] r5708 - /vtigercrm/trunk/modules/Users/detailviewemailtemplate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 3 07:25:49 EDT 2006
Author: saraj
Date: Wed May 3 05:25:44 2006
New Revision: 5708
Log:
Logs made proper for email templates detailview - ahmed
Modified:
vtigercrm/trunk/modules/Users/detailviewemailtemplate.php
Modified: vtigercrm/trunk/modules/Users/detailviewemailtemplate.php
==============================================================================
--- vtigercrm/trunk/modules/Users/detailviewemailtemplate.php (original)
+++ vtigercrm/trunk/modules/Users/detailviewemailtemplate.php Wed May 3 05:25:44 2006
@@ -12,7 +12,8 @@
require_once('data/Tracker.php');
require_once('include/utils/UserInfoUtil.php');
require_once('include/database/PearDatabase.php');
-
+global $adb;
+global $log;
global $mod_strings;
global $app_strings;
global $current_language;
@@ -20,6 +21,8 @@
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
require_once($theme_path.'layout_utils.php');
+
+$log->info("Inside Email Template Detail View");
$smarty = new vtigerCRM_smarty;
@@ -33,6 +36,7 @@
if(isset($_REQUEST['templateid']) && $_REQUEST['templateid']!='')
{
+ $log->info("The templateid is set");
$tempid = $_REQUEST['templateid'];
$sql = "select * from emailtemplates where templateid=".$tempid;
$result = $adb->query($sql);
More information about the vtigercrm-commits
mailing list