automation
4 months ago
deactivationPoll
2 years ago
emails
3 years ago
form
7 months ago
newsletter
8 months ago
segments
1 year ago
subscribers
10 months ago
subscription
10 months ago
upgrade
1 year ago
woocommerce
1 year ago
analytics.html
1 year ago
automation.html
2 years ago
blank.html
2 years ago
experimental-features.html
4 years ago
forms.html
1 year ago
help.html
1 year ago
homepage.html
2 years ago
index.php
3 years ago
landingpage.html
2 years ago
layout.html
8 months ago
logs.html
1 year ago
mss_pitch_translations.html
3 years ago
newsletters.html
1 year ago
parsley-translations.html
2 years ago
premium_key_validation_strings.html
3 years ago
settings.html
2 years ago
settings_translations.html
8 months ago
upgrade_tiers.html
1 year ago
welcome_wizard.html
1 year ago
woo_system_info.html
2 years ago
woocommerce_setup.html
1 year ago
forms.html
42 lines
| 1 | <% extends 'layout.html' %> |
| 2 | |
| 3 | <% block content %> |
| 4 | <div id="forms_container"></div> |
| 5 | |
| 6 | <div> |
| 7 | <p class="mailpoet_sending_methods_help help"> |
| 8 | <% set allowedHtml = {'a': {'href': [], 'target': [], 'id': []}, 'strong': {}} %> |
| 9 | <%= __('<strong>Tip:</strong> check out [link]this list[/link] of form plugins that integrate with MailPoet.') |
| 10 | |replaceLinkTags('https://kb.mailpoet.com/article/198-forms-themes-plugins-that-work-with-mailpoet', {'target': '_blank', id: 'mailpoet_helper_link'}) |
| 11 | |wpKses(allowedHtml) |
| 12 | %> |
| 13 | </p> |
| 14 | </div> |
| 15 | |
| 16 | <script type="text/javascript"> |
| 17 | var mailpoet_listing_per_page = <%= items_per_page %>; |
| 18 | var mailpoet_segments = <%= json_encode(segments) %>; |
| 19 | var mailpoet_form_template_selection_url = |
| 20 | "<%= admin_url('admin.php?page=mailpoet-form-editor-template-selection') %>"; |
| 21 | var mailpoet_form_edit_url = |
| 22 | "<%= admin_url('admin.php?page=mailpoet-form-editor&id=') %>"; |
| 23 | |
| 24 | var mailpoet_display_nps_poll = <%= json_encode(display_nps_survey) %>; |
| 25 | |
| 26 | <%if display_nps_survey %> |
| 27 | var mailpoet_display_nps_form = true; |
| 28 | var mailpoet_current_wp_user = <%= json_encode(current_wp_user) %>; |
| 29 | var mailpoet_current_wp_user_firstname = '<%= current_wp_user_firstname %>'; |
| 30 | var mailpoet_review_request_illustration_url = '<%= cdn_url('review-request/review-request-illustration.20190815-1427.svg') %>'; |
| 31 | <%endif%> |
| 32 | </script> |
| 33 | <% endblock %> |
| 34 | |
| 35 | <% block after_javascript %> |
| 36 | <script type="text/javascript"> |
| 37 | jQuery('#mailpoet_helper_link').on('click', function() { |
| 38 | MailPoet.trackEvent('Forms page > link to doc page'); |
| 39 | }); |
| 40 | </script> |
| 41 | <% endblock %> |
| 42 |