Changed class Router to Routes to clarify its purpose. Decode the referrer url in the contact form email.
This commit is contained in:
parent
947c6841c9
commit
4f77fa419e
9 changed files with 61 additions and 59 deletions
|
@ -1,3 +1,22 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Comment form email response -->
|
||||
<#-- Comment form email response -->
|
||||
|
||||
<#-- Only inline styles seem to work in email. Can't get styles for margin to work, though. -->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>${subject}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h3>${subject}</h3>
|
||||
<p>
|
||||
<strong>From:</strong> ${name}<br />
|
||||
<strong>Email address:</strong> ${emailAddress}<br />
|
||||
<strong>IP address:</strong> ${ip}<br />
|
||||
<#if referrer??>
|
||||
<em>Likely viewing page: ${referrer}</em><br />
|
||||
</#if>
|
||||
<strong>Comments:</strong> ${comments}
|
||||
</body>
|
||||
</html>
|
|
@ -27,7 +27,7 @@
|
|||
</p>
|
||||
</#if>
|
||||
|
||||
<form name="contact_form" action="sendMail" method="post" onsubmit="return ValidateForm('contact_form');">
|
||||
<form name="contact_form" action="submitFeedback" method="post" onsubmit="return ValidateForm('contact_form');">
|
||||
<input type="hidden" name="home" value="${portalId}"/>
|
||||
<input type="hidden" name="RequiredFields" value="webusername,webuseremail,s34gfd88p9x1"/>
|
||||
<input type="hidden" name="RequiredFieldsNames" value="Name,Email address,Comments"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue