[Vtigercrm-commits] [vtiger development] #4416: webmail with template special characters < ' >
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Oct 24 03:05:13 EDT 2007
#4416: webmail with template special characters < ' >
------------------------+---------------------------------------------------
Reporter: sandeep | Owner: sandeep
Type: defect | Status: new
Priority: major | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.3
Resolution: | Keywords:
------------------------+---------------------------------------------------
Changes (by sandeep):
* owner: developer => sandeep
Comment:
This is sandeep. I've found the solution for your problem. just make the
follwing changes in your code.
In file
Smarty/templates/CreateEmailTemplate.tpl at line no.274
replace
<td valign="top" colspan="2" width=60%
class="cellText small"><p><textarea name="body"
style="width:90%;height:200px" class=small
tabindex="5">{$BODY}</textarea></p>
with
<td valign="top" colspan="2" width=60%
class="cellText small"><p><textarea name="body"
style="width:90%;height:200px" class=small
tabindex="5">{$BODY|escape}</textarea></p>
and
In the file
Modules/Users/TemplateMerge.php in line no. 30
replace
window.opener.document.getElementById('description').value =
window.document.frmrepstr.repstr.value
with
window.opener.document.getElementById('description').value =
window.document.frmrepstr.repstr.value.replace("<","<")
Those are the two changes that helps in solving the problem.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4416#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list