[Vtigercrm-commits] [vtiger-commits] r4541 - /vtigercrm/trunk/modules/Users/detailviewemailtemplate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 01:46:01 EST 2006
Author: saraj
Date: Mon Mar 27 23:45:57 2006
New Revision: 4541
Log:
Removed Junk & Commented Code
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 Mon Mar 27 23:45:57 2006
@@ -15,7 +15,6 @@
global $mod_strings;
global $app_strings;
-global $app_list_strings;
global $current_language;
global $theme;
$theme_path="themes/".$theme."/";
@@ -37,21 +36,6 @@
$tempid = $_REQUEST['templateid'];
$sql = "select * from emailtemplates where templateid=".$tempid;
$result = $adb->query($sql);
-/* $temprow = $adb->fetch_array($result);
- $cnt=1;
- $selcount = $_REQUEST['templatename'];
- do
- {
- if ($cnt == $selcount)
- {
- $templatename = $temprow["templatename"];
- }
- $cnt++;
- }while($temprow = $adb->fetch_array($result));
-
- $result = fetchEmailTemplateInfo($templatename);
-*/
-//
$emailtemplateResult = $adb->fetch_array($result);
}
$smarty->assign("FOLDERNAME", $emailtemplateResult["foldername"]);
@@ -65,7 +49,6 @@
$smarty->display("DetailViewEmailTemplate.tpl");
-
?>
More information about the vtigercrm-commits
mailing list