2023-06-05 11:23:16 +00:00
|
|
|
<?php
|
|
|
|
namespace W3TC;
|
|
|
|
|
|
|
|
if ( ! defined( 'W3TC' ) ) {
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
|
2024-03-28 09:40:06 +00:00
|
|
|
require W3TC_INC_DIR . '/options/common/header.php';
|
2023-06-05 11:23:16 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
<form id="w3tc_dashboard" action="admin.php?page=<?php echo esc_attr( $this->_page ); ?>" method="post">
|
2023-10-22 22:21:26 +00:00
|
|
|
<div class="w3tc_dashboard_flush_container">
|
|
|
|
<span><?php esc_html_e( 'Flush caches with ', 'w3-total-cache' ); ?></span>
|
|
|
|
<div class="w3tc-button-control-container">
|
|
|
|
<?php Util_Ui::print_flush_split_button(); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2024-03-28 09:40:06 +00:00
|
|
|
|
2023-10-22 22:21:26 +00:00
|
|
|
<form id="w3tc_dashboard" action="admin.php?page=<?php echo esc_attr( $this->_page ); ?>" method="post">
|
|
|
|
<?php
|
|
|
|
echo wp_kses(
|
|
|
|
Util_Ui::nonce_field( 'w3tc' ),
|
|
|
|
array(
|
|
|
|
'input' => array(
|
|
|
|
'type' => array(),
|
|
|
|
'name' => array(),
|
|
|
|
'value' => array(),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
);
|
|
|
|
?>
|
2023-06-05 11:23:16 +00:00
|
|
|
<div id="w3tc-dashboard-widgets" class="clearfix widefat metabox-holder">
|
|
|
|
<?php $screen = get_current_screen(); ?>
|
2024-03-28 09:40:06 +00:00
|
|
|
<div id="postbox-container">
|
2023-06-05 11:23:16 +00:00
|
|
|
<div class="content">
|
2024-03-28 09:40:06 +00:00
|
|
|
<div class="widgets-container">
|
|
|
|
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
|
|
|
|
</div>
|
2023-06-05 11:23:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
|
|
|
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</form>
|