init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<% block content %>
|
||||
<p class="mailpoet_confirm_unsubscribe">
|
||||
<%= __('Simply click on this link to stop receiving emails from us.') %>
|
||||
<br>
|
||||
<a href="<%= unsubscribeUrl %>" rel="nofollow"><%= _x('Yes, unsubscribe me', 'Text in unsubscribe link') %></a>
|
||||
</p>
|
||||
<% endblock %>
|
||||
@@ -0,0 +1 @@
|
||||
<?php
|
||||
@@ -0,0 +1,23 @@
|
||||
<% block content %>
|
||||
<form class="mailpoet-manage-subscription" method="post" action="<%= actionUrl|escape %>" novalidate>
|
||||
<input type="hidden" name="action" value="mailpoet_subscription_update" />
|
||||
<input type="hidden" name="data[segments]" value="" />
|
||||
<input type="hidden" name="mailpoet_redirect" value="<%= redirectUrl|escape %>"/>
|
||||
<input type="hidden" name="data[email]" value="<%= email|escape %>" />
|
||||
<input type="hidden" name="token" value="<%= token %>" />
|
||||
<p class="mailpoet_paragraph">
|
||||
<label> <%= __('Email', 'mailpoet') %>*<br /><strong><%= email|escape %></strong></label>
|
||||
<br />
|
||||
<span class="mailpoet-change-email-info">
|
||||
<% set allowedHtml = {'a': {'href': [], 'target': []}} %>
|
||||
<%= editEmailInfo|wpKses(allowedHtml) %>
|
||||
</span>
|
||||
</p>
|
||||
<%= formHtml|raw %>
|
||||
<% if formState == 'success' %>
|
||||
<p class="mailpoet-submit-success">
|
||||
<%= _x('Your preferences have been saved.', 'success message after saving subscription settings') %>
|
||||
</p>
|
||||
<% endif %>
|
||||
</form>
|
||||
<% endblock %>
|
||||
Reference in New Issue
Block a user