| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div id="frm_insert_form" class="frm_hidden hidden"> |
| 7 |
<div id="frm_popup_content"> |
| 8 |
<div class="media-modal wp-core-ui"> |
| 9 |
<a href="#" class="media-modal-close"> |
| 10 |
<span class="media-modal-icon"> |
| 11 |
<span class="screen-reader-text"><?php esc_html_e( 'Close panel', 'formidable' ); ?></span> |
| 12 |
</span> |
| 13 |
</a> |
| 14 |
|
| 15 |
<div class="media-modal-content"> |
| 16 |
<div class="media-frame mode-select wp-core-ui hide-router"> |
| 17 |
|
| 18 |
<div id="frm_insert_form_content"> |
| 19 |
|
| 20 |
<div class="media-frame-menu"> |
| 21 |
<div class="media-menu"> |
| 22 |
<?php foreach ( $shortcodes as $shortcode => $labels ) { ?> |
| 23 |
<a href="#" class="media-menu-item frm_switch_sc" id="sc-link-<?php echo esc_attr( $shortcode ); ?>"> |
| 24 |
<?php echo esc_html( $labels['name'] ); ?> |
| 25 |
<span class="howto"><?php echo esc_html( $labels['label'] ); ?></span> |
| 26 |
</a> |
| 27 |
<?php } ?> |
| 28 |
<div class="clear"></div> |
| 29 |
</div> |
| 30 |
</div> |
| 31 |
|
| 32 |
<div class="media-frame-title"> |
| 33 |
<h1><?php esc_html_e( 'Insert a Form', 'formidable' ); ?> |
| 34 |
<span class="spinner"></span> |
| 35 |
<span class="frm_icon_font frm_arrowdown4_icon"></span> |
| 36 |
</h1> |
| 37 |
</div> |
| 38 |
|
| 39 |
<div class="media-frame-content"> |
| 40 |
<div class="attachments-browser"> |
| 41 |
<div id="frm_shortcode_options" class="media-embed"> |
| 42 |
|
| 43 |
</div> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
|
| 47 |
<div class="media-frame-toolbar"> |
| 48 |
<div class="media-toolbar"> |
| 49 |
<div class="media-toolbar-secondary"> |
| 50 |
<input type="text" value="" id="frm_complete_shortcode"/> |
| 51 |
</div> |
| 52 |
<div class="media-toolbar-primary search-form"> |
| 53 |
<a href="javascript:void(0);" class="button-primary button media-button-group" id="frm_insert_shortcode"> |
| 54 |
<?php esc_html_e( 'Insert into Post', 'formidable' ); ?> |
| 55 |
</a> |
| 56 |
</div> |
| 57 |
</div> |
| 58 |
</div> |
| 59 |
</div> |
| 60 |
</div> |
| 61 |
</div> |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
</div> |
| 65 |
|