PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4.4
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-forms / _publish_box.php

_publish_box.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 5.4.4, at classes/views/frm-forms/_publish_box.php

49 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 if ( 'settings' === FrmAppHelper::simple_get( 'frm_action', 'sanitize_title' ) ) {
7 $class = 'frm_submit_settings_btn';
8 } else {
9 $class = 'frm_submit_' . ( ( isset( $values['ajax_load'] ) && $values['ajax_load'] ) ? '' : 'no_' ) . 'ajax';
10 }
11 ?>
12 <button class="frm_submit_form button-primary frm-button-primary frm_button_submit <?php echo esc_attr( $class ); ?>" type="button" id="frm_submit_side_top" >
13 <?php esc_html_e( 'Update', 'formidable' ); ?>
14 </button>
15
16 <div id="frm-preview-action">
17 <?php if ( ( ! isset( $hide_preview ) || ! $hide_preview ) && isset( $values['form_key'] ) ) { ?>
18 <div class="preview dropdown">
19 <a href="#" id="frm-previewDrop" class="frm-dropdown-toggle button frm-button-secondary" data-toggle="dropdown" role="button">
20 <?php esc_html_e( 'Preview', 'formidable' ); ?>
21 <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown4_icon frm_svg13', array( 'aria-hidden' => 'true' ) ); ?>
22 </a>
23 <ul class="frm-dropdown-menu <?php echo esc_attr( is_rtl() ? 'pull-left' : 'pull-right' ); ?>" role="menu" aria-labelledby="frm-previewDrop">
24 <li>
25 <a href="<?php echo esc_url( FrmFormsHelper::get_direct_link( $values['form_key'] ) ); ?>" target="_blank">
26 <?php esc_html_e( 'On Blank Page', 'formidable' ); ?>
27 </a>
28 </li>
29 <li>
30 <a href="<?php echo esc_url( FrmFormsHelper::get_direct_link( $values['form_key'] ) . '&theme=1' ); ?>" target="_blank">
31 <?php esc_html_e( 'In Theme', 'formidable' ); ?>
32 </a>
33 </li>
34 <?php if ( FrmAppHelper::show_landing_pages() ) { ?>
35 <li>
36 <?php FrmFormsController::landing_page_preview_option(); ?>
37 </li>
38 <?php } ?>
39 </ul>
40 </div>
41 <?php } ?>
42 </div>
43
44 <a id="frm-embed-action" href="#" role="button" class="frm_submit_form button-secondary frm-button-secondary frm_button_submit">
45 <?php esc_html_e( 'Embed', 'formidable' ); ?>
46 </a>
47
48 <div class="clear"></div>
49