svn commit: r831881 - /ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r831881 - /ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl

mor-2
Author: mor
Date: Mon Nov  2 12:45:25 2009
New Revision: 831881

URL: http://svn.apache.org/viewvc?rev=831881&view=rev
Log:
Attempt to fix a secured URL in ftl.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl?rev=831881&r1=831880&r2=831881&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl Mon Nov  2 12:45:25 2009
@@ -35,8 +35,15 @@
 <p class="tabletext">To complete your subscription use the verify form in your <a href="${baseEcommerceSecureUrl}viewprofile">online profile</a>, or use the following link:</p>
 <#if (contactListPartyStatus.optInVerifyCode)?has_content><p class="tabletext">Your verify code is: ${contactListPartyStatus.optInVerifyCode}</p></#if>
 
-<#assign verifyUrl = baseEcommerceSecureUrl + "updateContactListParty?contactListId=" + contactListParty.contactListId + "&amp;partyId=" + contactListParty.partyId + "&amp;statusId=CLPT_ACCEPTED&amp;fromDate=" + contactListParty.fromDate/>
-<#if (contactListPartyStatus.optInVerifyCode)?has_content><#assign verifyUrl = verifyUrl + "&amp;optInVerifyCode=" + contactListPartyStatus.optInVerifyCode/></#if>
-<p class="tabletext"><a href="${verifyUrl}" class="linktext">${verifyUrl}</a></p>
+<#assign verifyUrl = baseEcommerceSecureUrl + "updateContactListParty" />
+<form method="post" id="updateContactListParty" action="${verifyUrl}">
+  <fieldset>
+    <input type="hidden" name="contactListId" value="${contactListParty.contactListId}" />
+    <input type="hidden" name="partyId" value="${contactListParty.partyId} />
+    <input type="hidden" name="fromDate" value="${contactListParty.fromDate}" />
+    <input type="hidden" name="statusId" value="CLPT_ACCEPTED" />
+    <input type="hidden" name="optInVerifyCode" value="${contactListPartyStatus.optInVerifyCode?if_exists}" />
+    <input type="submit" name="submitButton" value="Please click here to verify your newsletter subscription." />
+  </fieldset>
 </body>
 </html>