Current File : /var/www/e360ban/wp-content/updraft/plugins-old/updraftplus/templates/wp-admin/advanced/db-size.php |
<?php
if (!defined('UPDRAFTPLUS_DIR')) {
die('No direct access allowed');
}
$search_placeholder = __('Search for table', 'updraftplus');
?>
<div class="advanced_tools db_size">
<p>
<strong><?php esc_html_e('Total Size', 'updraftplus'); ?>: <span class="total-size"></span></strong>
</p>
<?php
if (!class_exists('UpdraftPlus_Database_Utility')) updraft_try_include_file('includes/class-database-utility.php', 'include_once');
$install_activate_link_of_wp_optimize_plugin = UpdraftPlus_Database_Utility::get_install_activate_link_of_wp_optimize_plugin();
if (!empty($install_activate_link_of_wp_optimize_plugin)) {
echo '<p>'.esc_html__('Reducing your database size with WP-Optimize helps to maintain a fast, efficient, and user-friendly website.', 'updraftplus').' '.wp_kses_post($install_activate_link_of_wp_optimize_plugin).' <a href="https://wordpress.org/plugins/wp-optimize/" target="_blank">'.esc_html__('Go here for more information.', 'updraftplus').'</a></p>';
}
?>
<p>
<input type="text" class="db-search" placeholder="<?php echo esc_attr($search_placeholder); ?>" title="<?php echo esc_attr($search_placeholder); ?>" aria-label="<?php echo esc_attr($search_placeholder); ?>"/>
<a href="#" class="button db-search-clear"><?php esc_html_e('Clear', 'updraftplus'); ?></a>
<a href="#" class="button-primary db-size-refresh"><?php esc_html_e('Refresh', 'updraftplus'); ?></a>
</p>
<table class="wp-list-table widefat striped">
<thead>
<tr>
<th><strong><?php esc_html_e('Table name', 'updraftplus'); ?></strong></th>
<th><strong><?php esc_html_e('Records', 'updraftplus'); ?></strong></th>
<th><strong><?php esc_html_e('Data size', 'updraftplus'); ?></strong></th>
<th><strong><?php esc_html_e('Index size', 'updraftplus'); ?></strong></th>
<th><strong><?php esc_html_e('Type', 'updraftplus'); ?></strong></th>
</tr>
</thead>
<tbody class="db-size-content"></tbody>
</table>
</div>