automation
4 months ago
deactivationPoll
2 years ago
emails
2 months ago
form
1 month ago
newsletter
4 weeks ago
segments
4 weeks ago
subscribers
4 weeks ago
subscription
4 weeks 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
4 weeks ago
help.html
4 weeks ago
homepage.html
2 years ago
index.php
3 years ago
landingpage.html
2 years ago
layout.html
4 weeks 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
4 weeks 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
43 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_forms_api = <%= json_encode(api) %>; |
| 20 | var mailpoet_form_template_selection_url = |
| 21 | "<%= admin_url('admin.php?page=mailpoet-form-editor-template-selection') %>"; |
| 22 | var mailpoet_form_edit_url = |
| 23 | "<%= admin_url('admin.php?page=mailpoet-form-editor&id=') %>"; |
| 24 | |
| 25 | var mailpoet_display_nps_poll = <%= json_encode(display_nps_survey) %>; |
| 26 | |
| 27 | <%if display_nps_survey %> |
| 28 | var mailpoet_display_nps_form = true; |
| 29 | var mailpoet_current_wp_user = <%= json_encode(current_wp_user) %>; |
| 30 | var mailpoet_current_wp_user_firstname = '<%= current_wp_user_firstname %>'; |
| 31 | var mailpoet_review_request_illustration_url = '<%= cdn_url('review-request/review-request-illustration.20190815-1427.svg') %>'; |
| 32 | <%endif%> |
| 33 | </script> |
| 34 | <% endblock %> |
| 35 | |
| 36 | <% block after_javascript %> |
| 37 | <script type="text/javascript"> |
| 38 | jQuery('#mailpoet_helper_link').on('click', function() { |
| 39 | MailPoet.trackEvent('Forms page > link to doc page'); |
| 40 | }); |
| 41 | </script> |
| 42 | <% endblock %> |
| 43 |