PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 3.06.06
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v3.06.06
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 / shared / admin-header.php

admin-header.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 3.06.06, at classes/views/shared/admin-header.php

36 lines 958 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div id="frm_top_bar">
2 <?php
3
4 // Add form nav
5 if ( $has_nav ) {
6 FrmAppController::get_form_nav( $atts['form'], true, 'hide' );
7 } else {
8
9 ?>
10
11 <div class="frm_top_left">
12 <h1><?php echo esc_html( $atts['label'] ); ?>
13 <?php FrmAppHelper::add_new_item_link( $atts ); ?>
14 <?php if ( isset( $atts['cancel_link'] ) ) { ?>
15 <a href="<?php echo esc_url( $atts['cancel_link'] ) ?>" class="add-new-h2 frm_animate_bg"><?php esc_html_e( 'Cancel', 'formidable' ); ?></a>
16 <?php } ?>
17 </h1>
18 </div>
19 <?php
20 }
21 ?>
22
23 <div class="clear"></div>
24 </div>
25
26 <?php if ( isset( $atts['form'] ) && ! empty( $atts['form'] ) && ! isset( $atts['hide_title'] ) ) { ?>
27 <h<?php echo $has_nav ? 1 : 2 ?> id="frm_form_heading">
28 <?php
29 echo esc_html( strip_tags( '' === $atts['form']->name ? __( '(no title)', 'formidable' ) : $atts['form']->name ) );
30 if ( $has_nav ) {
31 FrmAppHelper::add_new_item_link( $atts );
32 }
33 ?>
34 </h<?php echo $has_nav ? 1 : 2 ?>>
35 <?php } ?>
36