[Vtigercrm-commits] [vtiger-commits] r7945 - in /vtigercrm/trunk: Smarty/templates/QuickCreate.tpl include/quickcreate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jul 10 10:18:16 EDT 2006
Author: saraj
Date: Mon Jul 10 08:18:11 2006
New Revision: 7945
Log:
updated qcreate file
Modified:
vtigercrm/trunk/Smarty/templates/QuickCreate.tpl
vtigercrm/trunk/include/quickcreate.php
Modified: vtigercrm/trunk/Smarty/templates/QuickCreate.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/QuickCreate.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/QuickCreate.tpl Mon Jul 10 08:18:11 2006
@@ -15,7 +15,7 @@
<tr>
<td>
<table border=0 cellspacing=0 cellpadding=0 width="100%" class=small>
- <tr> <td class="qcHeader" background="{$IMAGE_PATH}qcBg.gif"><b >{$APP.LBL_CREATE_BUTTON_LABEL} {$APP.$MODULE}</b></td><td class="qcHeader" align=right><img src="{$IMAGE_PATH}qcName.gif"></td></tr>
+ <tr> <td class="qcHeader" background="{$IMAGE_PATH}qcBg.gif"><b >{$APP.LBL_CREATE_BUTTON_LABEL} {$APP.$QCMODULE}</b></td><td class="qcHeader" align=right><img src="{$IMAGE_PATH}qcName.gif"></td></tr>
</table>
<table border=0 cellspacing=0 cellpadding=5 width="100%" class=small>
Modified: vtigercrm/trunk/include/quickcreate.php
==============================================================================
--- vtigercrm/trunk/include/quickcreate.php (original)
+++ vtigercrm/trunk/include/quickcreate.php Mon Jul 10 08:18:11 2006
@@ -14,7 +14,7 @@
require_once("include/FormValidationUtil.php");
global $mod_strings,$current_user;
-global $app_strings;
+global $app_strings, $currentModule;
global $adb;
global $app_list_strings;
global $theme;
@@ -36,15 +36,16 @@
$smarty->assign("THEME",$theme);
$smarty->assign("IMAGE_PATH",$image_path);
if($module == 'Activities')
- $smarty->assign("MODULE", $app_strings['Task']);
+ $smarty->assign("QCMODULE", $app_strings['Task']);
elseif($module == "HelpDesk")
- $smarty->assign("MODULE", $app_strings['Ticket']);
+ $smarty->assign("QCMODULE", $app_strings['Ticket']);
else
- $smarty->assign("MODULE",rtrim($module,'s'));
+ $smarty->assign("QCMODULE",rtrim($module,'s'));
$smarty->assign("USERID",$current_user->id);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+$smarty->assign("MODULE", $currentModule);
$smarty->assign("CATEGORY",$category);
$smarty->display("QuickCreate.tpl");
More information about the vtigercrm-commits
mailing list