<?php namespace W3TC; if (!defined('W3TC')) { die; } include W3TC_INC_DIR . '/options/common/header.php'; ?> <p> <?php echo sprintf(__('The plugin is currently <span class="w3tc-%s">%s</span> in <strong>%s%s</strong> mode.', 'w3-total-cache'), $enabled ? "enabled" : "disabled", $enabled ? __('enabled', 'w3-total-cache') : __('disabled', 'w3-total-cache'), Util_Environment::w3tc_edition($this->_config), Util_Environment::is_w3tc_edge($this->_config) ? __(' edge', 'w3-total-cache') : ''); ?> </p> <form id="w3tc_dashboard" action="admin.php?page=<?php echo $this->_page; ?> " method="post"> <p> Perform a <input type="button" class="button button-self-test {nonce: '<?php echo wp_create_nonce('w3tc'); ?> '}" value="<?php _e('compatibility check', 'w3-total-cache'); ?> " />, <?php echo Util_Ui::nonce_field('w3tc'); ?>