- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
67 lines
2.1 KiB
PHP
Executable File
67 lines
2.1 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Provide a admin area view for the plugin
|
|
*
|
|
* This file is used to markup the admin-facing aspects of the plugin.
|
|
*
|
|
* @link https://raiolanetworks.es
|
|
* @since 1.0.0
|
|
*
|
|
* @package Wp_Database_Tools
|
|
* @subpackage Wp_Database_Tools/admin/partials
|
|
*/
|
|
|
|
$settings_page = $this->get_settings_pages();
|
|
$detail_page = ( isset( $_GET['details'] ) ) ? $_GET['details'] : null;
|
|
$has_details_table = isset( $this->database->get_general_data()[ $detail_page ] );
|
|
|
|
?>
|
|
|
|
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
|
|
|
|
<div id="<?php echo esc_html( $this->plugin_name ); ?>-admin" role="main">
|
|
<div id="wpbody-content">
|
|
|
|
<div id="wpheader" class="<?php echo esc_html( $this->plugin_name ); ?>-header ml--20">
|
|
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-header.php'; ?>
|
|
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-navigation.php'; ?>
|
|
</div>
|
|
|
|
<div class="wrap">
|
|
<!-- For display notices -->
|
|
<h2></h2>
|
|
<div id="poststuff">
|
|
<div id="post-body" class="metabox-holder md_col-2">
|
|
<div id="post-body-content">
|
|
|
|
<!-- CONTENT -->
|
|
<div class="inside">
|
|
<div class="bg-white br-10 px-30 py-20">
|
|
<?php if ( $settings_page['force_execute_scanner'] == 'YES' ) : ?>
|
|
<?php include plugin_dir_path( __FILE__ ) . 'sections/' . $this->plugin_name . '-section-scanner-execute.php'; ?>
|
|
<?php else : ?>
|
|
<?php include plugin_dir_path( __FILE__ ) . 'sections/' . $this->plugin_name . '-section-transients.php'; ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- SIDEBAR -->
|
|
<div id="modal-container" class="">
|
|
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-modal.php'; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- SIDEBAR -->
|
|
<div id="postbox-container-1" class="postbox-container">
|
|
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-sidebar.php'; ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br class="clear">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|