PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 1.9.7.7
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v1.9.7.7
3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 All 195 releases
convertkit / views / backend / tinymce / modal.php

modal.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 1.9.7.7, at views/backend/tinymce/modal.php

37 lines 962 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * TinyMCE Modal view
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10
11 <!-- .wp-core-ui ensures styles are applied on frontend editors for e.g. buttons.css -->
12 <form class="convertkit-tinymce-popup wp-core-ui">
13 <?php
14 // Output each Field.
15 foreach ( $shortcode['fields'] as $field_name => $field ) {
16 include 'modal-field-row.php';
17 }
18 ?>
19
20 <div class="convertkit-option buttons">
21 <div class="left">
22 <button type="button" class="close button"><?php esc_html_e( 'Cancel', 'convertkit' ); ?></button>
23 </div>
24 <div class="right">
25 <input type="hidden" name="shortcode" value="convertkit_<?php echo esc_attr( $shortcode['name'] ); ?>" />
26 <?php
27 if ( $shortcode['shortcode_include_closing_tag'] ) {
28 ?>
29 <input type="hidden" name="close_shortcode" value="1" />
30 <?php
31 }
32 ?>
33 <input type="button" value="<?php esc_html_e( 'Insert', 'convertkit' ); ?>" class="button button-primary right" />
34 </div>
35 </div>
36 </form>
37