PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.4.8
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.4.8
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
weforms / includes / integrations / mailpoet / component / template.php

template.php in weForms – Easy Drag & Drop Contact Form Builder For WordPress 1.4.8, at includes/integrations/mailpoet/component/template.php

64 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div>
2 <?php if ( class_exists( 'WYSIJA' ) ) { ?>
3 <div class="wpuf-int-form-row">
4 <div class="wpuf-int-field-label">
5 <label for="mailpoet-list-id"><?php esc_html_e( 'List', 'weforms' ); ?></label>
6 </div>
7 <div class="wpuf-int-field">
8 <select v-model="settings.list" id="mailpoet-list-id">
9 <option value=""><?php esc_html_e( '&mdash; Select List &mdash;', 'weforms' ); ?></option>
10 <option v-for="list in lists" :value="list.list_id">{{ list.name }}</option>
11 </select>
12
13 <span class="description"><?php esc_html_e( 'Select your mailpoet list for subscription', 'weforms' ); ?></span>
14 </div>
15 </div>
16
17 <fieldset>
18 <legend><?php esc_html_e( 'Mapping Fields', 'weforms' ); ?></legend>
19
20 <p class="description" style="padding: 0 0 10px 0;">
21 <?php esc_html_e( 'Please map the form input fields with mailpoet required fields', 'weforms' ); ?>
22 </p>
23
24 <div class="wpuf-int-form-row mapping-fields">
25 <div class="wpuf-int-field-label">
26 <label for="mailpoet-list-id"><?php esc_html_e( 'Email Address', 'weforms' ); ?> <span class="required">*</span></label>
27 </div>
28 <div class="wpuf-int-field">
29 <div class="wpuf-int-field-small">
30 <input type="email" class="regular-text" v-model="settings.fields.email">
31 <wpuf-merge-tags filter="email_address" v-on:insert="insertValue" field="email"></wpuf-merge-tags>
32 </div>
33 </div>
34 </div>
35
36 <div class="wpuf-int-form-row">
37 <div class="wpuf-int-field-label">
38 <label for="mailpoet-list-id"><?php esc_html_e( 'First Name', 'weforms' ); ?></label>
39 </div>
40 <div class="wpuf-int-field">
41 <div class="wpuf-int-field-small">
42 <input type="text" class="regular-text" v-model="settings.fields.first_name">
43 <wpuf-merge-tags v-on:insert="insertValue" field="first_name"></wpuf-merge-tags>
44 </div>
45 </div>
46 </div>
47
48 <div class="wpuf-int-form-row">
49 <div class="wpuf-int-field-label">
50 <label for="mailpoet-list-id"><?php esc_html_e( 'Last Name', 'weforms' ); ?></label>
51 </div>
52 <div class="wpuf-int-field">
53 <div class="wpuf-int-field-small">
54 <input type="text" class="regular-text" v-model="settings.fields.last_name">
55 <wpuf-merge-tags v-on:insert="insertValue" field="last_name"></wpuf-merge-tags>
56 </div>
57 </div>
58 </div>
59 </fieldset>
60 <?php } else {
61 printf( esc_html_e( '%sMailPoet Newsletters%s plugin does not exists. Please install the plugin .', 'weforms' ), '<a href="https://wordpress.org/plugins/wysija-newsletters/" target="_blank" >', '</a>' );
62 } ?>
63 </div>
64