| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div id="frm_top_bar"> |
| 7 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable' ) ); ?>" class="frm-header-logo"> |
| 8 |
<?php FrmAppHelper::show_header_logo(); ?> |
| 9 |
<span class="screen-reader-text"><?php esc_html_e( 'View Forms', 'formidable' ); ?></span> |
| 10 |
</a> |
| 11 |
<div id="frm_bs_dropdown"> |
| 12 |
<h1> |
| 13 |
<span> |
| 14 |
<?php echo esc_html( $title ); ?> |
| 15 |
</span> |
| 16 |
</h1> |
| 17 |
</div> |
| 18 |
<div id="frm-publishing"> |
| 19 |
<?php do_action( 'frm_applications_header_inside_title_after_span', $context ); ?> |
| 20 |
<?php do_action( 'frm_applications_header_after_title', $context ); ?> |
| 21 |
<?php if ( 'index' === $context && ! FrmAppHelper::pro_is_installed() ) { ?> |
| 22 |
<a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( 'header' ) ); ?>" class="button button-secondary frm-button-secondary"> |
| 23 |
<?php esc_html_e( 'Upgrade', 'formidable' ); ?> |
| 24 |
</a> |
| 25 |
<?php } ?> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
|