[Vtigercrm-commits] [vtiger-commits] r10042 - in /vtigercrm/branches/5.0.3: Smarty/templates/ListEmailTemplates.tpl modules/Settings/saveemailtemplate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jan 12 02:02:49 EST 2007
Author: richie
Date: Fri Jan 12 00:02:42 2007
New Revision: 10042
Log:
Removed Tools column and escaped single quotes in description
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl
vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ListEmailTemplates.tpl Fri Jan 12 00:02:42 2007
@@ -145,11 +145,11 @@
</table>
<table border="0" cellspacing="0" cellpadding="5" width="100%" class="listTable">
<tr>
- <td width="2%" class="colHeader small">#</td>
- <td width="3%" class="colHeader small">{$UMOD.LBL_LIST_SELECT}</td>
- <td width="25%" class="colHeader small">{$UMOD.LBL_EMAIL_TEMPLATE}</td>
- <td width="50%" class="colHeader small">{$UMOD.LBL_DESCRIPTION}</td>
- <td width="20%" class="colHeader small">{$UMOD.LBL_TEMPLATE_TOOLS}</td>
+ <td width="5%" class="colHeader small">#</td>
+ <td width="5%" class="colHeader small">{$UMOD.LBL_LIST_SELECT}</td>
+ <td width="30%" class="colHeader small">{$UMOD.LBL_EMAIL_TEMPLATE}</td>
+ <td width="60%" class="colHeader small">{$UMOD.LBL_DESCRIPTION}</td>
+ <!--<td width="20%" class="colHeader small">{$UMOD.LBL_TEMPLATE_TOOLS}</td>-->
</tr>
{foreach name=emailtemplate item=template from=$TEMPLATES}
<tr>
@@ -159,9 +159,9 @@
<a href="index.php?module=Settings&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}" ><b>{$template.templatename}</b></a>
</td>
<td class="listTableRow small" valign=top>{$template.description} </td>
- <td class="listTableRow small" valign=top>
+ <!--<td class="listTableRow small" valign=top>
<a href="index.php?module=Settings&action=detailviewemailtemplate&parenttab=Settings&templateid={$template.templateid}">{$UMOD.LNK_SAMPLE_EMAIL}</a>
- </td>
+ </td>-->
</tr>
{/foreach}
</table>
Modified: vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php Fri Jan 12 00:02:42 2007
@@ -19,7 +19,7 @@
$log->debug("the templatename is ".$templateName);
$templateid = $_REQUEST["templateid"];
$log->debug("the templateid is ".$templateid);
-$description = $_REQUEST["description"];
+$description = addslashes($_REQUEST["description"]);
$log->debug("the description is ".$description);
$subject = addslashes($_REQUEST["subject"]);
$log->debug("the subject is ".$subject);
More information about the vtigercrm-commits
mailing list