all-in-one-event-calendar/public/admin/settings.php

28 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2017-03-16 16:59:53 +01:00
<div class="wrap">
2017-11-09 17:36:04 +01:00
<h2><?php echo $title; ?></h2>
2017-03-16 16:59:53 +01:00
2017-11-09 17:36:04 +01:00
<div id="poststuff">
2017-03-16 16:59:53 +01:00
2017-11-09 17:36:04 +01:00
<form method="post" action="" enctype="multipart/form-data">
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
2017-03-16 16:59:53 +01:00
2017-11-09 17:36:04 +01:00
<div class="metabox-holder">
<div class="post-box-container column-1-ai1ec left-side timely">
<?php do_meta_boxes( $settings_page, 'left', null ); ?>
<?php
// Show the submit button only in the settings page and not in the Feeds page.
if ( $calendar_settings ) {
submit_button( esc_attr__( 'Update Settings', AI1EC_PLUGIN_NAME ), 'primary', 'ai1ec_save_settings' );
}
?>
</div>
<div class="post-box-container column-2-ai1ec right-side timely"><?php do_meta_boxes( $settings_page, 'right', null ); ?></div>
</div>
</form>
2017-03-16 16:59:53 +01:00
2017-11-09 17:36:04 +01:00
</div><!-- #poststuff -->
2017-03-16 16:59:53 +01:00
</div><!-- .wrap -->