installed plugin W3 Total Cache version 2.3.2

This commit is contained in:
2023-06-05 11:23:16 +00:00
committed by Gitium
parent d9b3c97e40
commit 51ea2ff21c
2730 changed files with 334913 additions and 0 deletions

View File

@ -0,0 +1,62 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<script type="text/javascript">/*<![CDATA[*/
var files = [
<?php
$files_count = count( $files );
foreach ( $files as $index => $file ) :
echo "'" . esc_html( addslashes( $file ) ) . "'" . ( $index < $files_count - 1 ? ',' : '' );
endforeach;
?>
];
jQuery(function() {
W3tc_Popup_Cdn_Export_File.nonce = '<?php echo esc_html( wp_create_nonce( 'w3tc' ) ); ?>';
W3tc_Popup_Cdn_Export_File.files = files;
W3tc_Popup_Cdn_Export_File.init();
});
/*]]>*/</script>
<p><?php esc_html_e( 'This tool will upload files of the selected type to content delivery network provider.', 'w3-total-cache' ); ?></p>
<table cellspacing="5">
<tr>
<td><?php esc_html_e( 'Total files:', 'w3-total-cache' ); ?></td>
<td><?php echo esc_html( $files_count ); ?></td>
</tr>
<tr>
<td><?php esc_html_e( 'Processed:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_file_processed">0</td>
</tr>
<tr>
<td><?php esc_html_e( 'Status:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_file_status">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Time elapsed:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_file_elapsed">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Last response:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_file_last_response">-</td>
</tr>
</table>
<p>
<input id="cdn_export_file_start" class="button-primary" type="button" value="<?php esc_html_e( 'Start', 'w3-total-cache' ); ?>"<?php echo ! $files_count ? ' disabled="disabled"' : ''; ?> />
</p>
<div id="cdn_export_file_progress" class="media-item">
<div class="progress"><div class="bar"><div class="filename original"><span class="percent">0%</span></div></div></div>
<div class="clear"></div>
</div>
<div id="cdn_export_file_log" class="log"></div>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,52 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<script type="text/javascript">/*<![CDATA[*/
jQuery(function() {
W3tc_Popup_Cdn_Export_Library.nonce = '<?php echo esc_html( wp_create_nonce( 'w3tc' ) ); ?>';
W3tc_Popup_Cdn_Export_Library.init();
});
/*]]>*/</script>
<p><?php esc_html_e( 'This tool will upload files of the selected type to content delivery network provider.', 'w3-total-cache' ); ?></p>
<table cellspacing="5">
<tr>
<td><?php esc_html_e( 'Total media library attachments:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_library_total"><?php echo esc_html( $total ); ?></td>
</tr>
<tr>
<td><?php esc_html_e( 'Processed:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_library_processed">0</td>
</tr>
<tr>
<td><?php esc_html_e( 'Status:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_library_status">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Time elapsed:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_library_elapsed">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Last response:', 'w3-total-cache' ); ?></td>
<td id="cdn_export_library_last_response">-</td>
</tr>
</table>
<p>
<input id="cdn_export_library_start" class="button-primary" type="button" value="<?php esc_html_e( 'Start', 'w3-total-cache' ); ?>" <?php echo ! $total ? 'disabled="disabled"' : ''; ?>/>
</p>
<div id="cdn_export_library_progress" class="media-item">
<div class="progress"><div class="bar"><div class="filename original"><span class="percent">0%</span></div></div></div>
<div class="clear"></div>
</div>
<div id="cdn_export_library_log" class="log"></div>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,97 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<script type="text/javascript">/*<![CDATA[*/
jQuery(function() {
W3tc_Popup_Cdn_Import_Library.nonce = '<?php echo esc_html( wp_create_nonce( 'w3tc' ) ); ?>';
W3tc_Popup_Cdn_Import_Library.cdn_host = '<?php echo esc_html( $cdn_host ); ?>';
W3tc_Popup_Cdn_Import_Library.init();
});
/*]]>*/</script>
<p><?php esc_html_e( 'This tool will copy post or page attachments into the Media Library allowing WordPress to work as intended.', 'w3-total-cache' ); ?></p>
<table cellspacing="5">
<tr>
<td><?php esc_html_e( 'Total posts:', 'w3-total-cache' ); ?></td>
<td id="cdn_import_library_total"><?php echo esc_html( $total ); ?></td>
</tr>
<tr>
<td><?php esc_html_e( 'Processed:', 'w3-total-cache' ); ?></td>
<td id="cdn_import_library_processed">0</td>
</tr>
<tr>
<td><?php esc_html_e( 'Status:', 'w3-total-cache' ); ?></td>
<td id="cdn_import_library_status">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Time elapsed:', 'w3-total-cache' ); ?></td>
<td id="cdn_import_library_elapsed">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Last response:', 'w3-total-cache' ); ?></td>
<td id="cdn_import_library_last_response">-</td>
</tr>
<tr>
<td colspan="2">
<label><input id="cdn_import_library_redirect_permanent" type="checkbox" checked="checked" /> <?php esc_html_e( 'Create a list of permanent (301) redirects for use in your site\'s .htaccess file', 'w3-total-cache' ); ?></label>
</td>
</tr>
<tr>
<td colspan="2">
<label>
<input id="cdn_import_library_redirect_cdn" type="checkbox" />
<?php
echo wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Create a list of redirects to %1$sCDN%2$s (hostname specified in hostname field #1.)',
'w3-total-cache'
),
'<acronym title="' . __( 'Content Delivery Network', 'w3-total-cache' ) . '">',
'</acronym>'
),
array(
'acronym' => array(
'title' => array(),
),
)
);
?>
</label>
</td>
</tr>
<tr>
<td colspan="2">
<?php $config_state = Dispatcher::config_state(); ?>
<label><input id="cdn_import_external" type="checkbox" name="cdn.import.external" <?php checked( $config_state->get_boolean( 'cdn.import.external' ), true ); ?>/> <?php Util_Ui::e_config_label( 'cdn.import.external' ); ?></label>
</td>
</tr>
</table>
<p>
<input id="cdn_import_library_start" class="button-primary" type="button" value="<?php esc_attr_e( 'Start', 'w3-total-cache' ); ?>" <?php echo ! $total ? 'disabled="disabled"' : ''; ?>/>
</p>
<div id="cdn_import_library_progress" class="media-item">
<div class="progress"><div class="bar"><div class="filename original"><span class="percent">0%</span></div></div></div>
<div class="clear"></div>
</div>
<div id="cdn_import_library_log" class="log"></div>
<p>
<?php esc_html_e( 'Add the following directives to your .htaccess file or if there are several hundred they should be added directly to your configuration file:', 'w3-total-cache' ); ?>
</p>
<p>
<textarea rows="10" cols="90" id="cdn_import_library_rules" class="rules"></textarea>
</p>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,88 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<p>
<?php
echo wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Remove objects from the %1$sCDN%2$s by specifying the relative path on individual lines below and clicking the "Purge" button when done. For example:',
'w3-total-cache'
),
'<acronym title="' . esc_attr__( 'Content Delivery Network', 'w3-total-cache' ) . '">',
'</acronym>'
),
array(
'acronym' => array(
'title' => array(),
),
)
);
?>
</p>
<p>
<?php
switch ( $this->_config->get_string( 'cdn.engine' ) ) :
case 'cotendo':
?>
<ul>
<li><em><?php echo esc_url( $path ); ?>/images/headers/</em> &mdash; <?php esc_html_e( 'the directory itself (only when accessed directly without any file).', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/*.</em> &mdash; <?php esc_html_e( 'all files in the directory with no extension, with all parameter variations.', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/*.jpg</em> &mdash; <?php esc_html_e( 'all files in the directory whose extension is "jpg".', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/path</em> &mdash; <?php esc_html_e( 'the specific file (when the file does not have an extension), and without parameters.', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/path.jpg</em> &mdash; <?php esc_html_e( 'the specific file with its extension, and without parameters.', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/path.jpg?*</em> &mdash; <?php esc_html_e( 'the specific file with its extension, with all variation of parameters.', 'w3-total-cache' ); ?></li>
<li><em><?php echo esc_url( $path ); ?>/images/headers/path.jpg?key=value</em> &mdash; <?php esc_html_e( 'the specific file with its extension, with the specific parameters.', 'w3-total-cache' ); ?></li>
</ul>
<?php
break;
default:
?>
<em><?php echo esc_url( $path ); ?>/images/headers/path.jpg</em>
<?php
break;
endswitch;
?>
</p>
<form action="admin.php?page=w3tc_cdn" method="post">
<p><?php esc_html_e( 'Files to purge:', 'w3-total-cache' ); ?></p>
<p>
<textarea name="files" rows="10" cols="90"></textarea>
</p>
<p>
<?php
echo wp_kses(
Util_Ui::nonce_field( 'w3tc' ),
array(
'input' => array(
'type' => array(),
'name' => array(),
'value' => array(),
),
)
);
?>
<input class="button-primary" type="submit" name="w3tc_cdn_purge_files" value="<?php esc_attr_e( 'Purge', 'w3-total-cache' ); ?>" />
</p>
</form>
<div class="log">
<?php foreach ( $results as $result ) : ?>
<div class="log-<?php echo W3TC_CDN_RESULT_OK === $result['result'] ? 'success' : 'error'; ?>">
<?php echo esc_html( $result['remote_path'] ); ?>
<strong><?php echo esc_html( $result['error'] ); ?></strong>
</div>
<?php endforeach; ?>
</div>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,110 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<p><?php esc_html_e( 'This tool lists the pending file uploads and deletions.', 'w3-total-cache' ); ?></p>
<p id="w3tc-options-menu">
<a href="#cdn_queue_upload" rel="#cdn_queue_upload" class="tab<?php echo 'upload' === $cdn_queue_tab ? ' tab-selected' : ''; ?>"><?php esc_html_e( 'Upload queue', 'w3-total-cache' ); ?></a> |
<a href="#cdn_queue_delete" rel="#cdn_queue_delete" class="tab<?php echo 'delete' === $cdn_queue_tab ? ' tab-selected' : ''; ?>"><?php esc_html_e( 'Delete queue', 'w3-total-cache' ); ?></a> |
<a href="#cdn_queue_purge" rel="#cdn_queue_purge" class="tab<?php echo 'purge' === $cdn_queue_tab ? ' tab-selected' : ''; ?>"><?php esc_html_e( 'Purge queue', 'w3-total-cache' ); ?></a>
</p>
<div id="cdn_queue_upload" class="tab-content"<?php echo 'upload' !== $cdn_queue_tab ? ' style="display: none;"' : ''; ?>>
<?php if ( ! empty( $queue[ W3TC_CDN_COMMAND_UPLOAD ] ) ) : ?>
<table class="table queue">
<tr>
<th><?php esc_html_e( 'Local Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Remote Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Last Error', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Date', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></th>
</tr>
<?php foreach ( (array) $queue[ W3TC_CDN_COMMAND_UPLOAD ] as $result ) : ?>
<tr>
<td><?php echo esc_html( $result->local_path ); ?></td>
<td><?php echo esc_html( $result->remote_path ); ?></td>
<td><?php echo esc_html( $result->last_error ); ?></td>
<td align="center"><?php echo esc_html( $result->date ); ?></td>
<td align="center">
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=upload&amp;cdn_queue_action=delete&amp;cdn_queue_id=<?php echo esc_attr( $result->id ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_delete"><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></a>
</td>
</tr>
<?php endforeach; ?>
</table>
<p>
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=upload&amp;cdn_queue_action=empty&amp;cdn_queue_type=<?php echo esc_attr( W3TC_CDN_COMMAND_UPLOAD ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_empty"><?php esc_html_e( 'Empty upload queue', 'w3-total-cache' ); ?></a>
</p>
<p>
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=upload&amp;cdn_queue_action=process&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>"><?php esc_html_e( 'Process CDN queue now', 'w3-total-cache' ); ?></a>
</p>
<?php else : ?>
<p class="empty"><?php esc_html_e( 'Upload queue is empty', 'w3-total-cache' ); ?></p>
<?php endif; ?>
</div>
<div id="cdn_queue_delete" class="tab-content"<?php 'delete' !== $cdn_queue_tab ? ' style="display: none;"' : ''; ?>>
<?php if ( ! empty( $queue [ W3TC_CDN_COMMAND_DELETE ] ) ) : ?>
<table class="table queue">
<tr>
<th><?php esc_html_e( 'Local Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Remote Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Last Error', 'w3-total-cache' ); ?></th>
<th width="25%"><?php esc_html_e( 'Date', 'w3-total-cache' ); ?></th>
<th width="10%"><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></th>
</tr>
<?php foreach ( (array) $queue[ W3TC_CDN_COMMAND_DELETE ] as $result ) : ?>
<tr>
<td><?php echo esc_html( $result->local_path ); ?></td>
<td><?php echo esc_html( $result->remote_path ); ?></td>
<td><?php echo esc_html( $result->last_error ); ?></td>
<td align="center"><?php echo esc_html( $result->date ); ?></td>
<td align="center">
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=delete&amp;cdn_queue_action=delete&amp;cdn_queue_id=<?php echo esc_attr( $result->id ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_delete"><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></a>
</td>
</tr>
<?php endforeach; ?>
</table>
<p>
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=delete&amp;cdn_queue_action=empty&amp;cdn_queue_type=<?php echo esc_attr( W3TC_CDN_COMMAND_DELETE ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_empty"><?php esc_html_e( 'Empty delete queue', 'w3-total-cache' ); ?></a>
</p>
<?php else : ?>
<p class="empty"><?php esc_html_e( 'Delete queue is empty', 'w3-total-cache' ); ?></p>
<?php endif; ?>
</div>
<div id="cdn_queue_purge" class="tab-content"<?php 'purge' !== $cdn_queue_tab ? ' style="display: none;"' : ''; ?>>
<?php if ( ! empty( $queue[ W3TC_CDN_COMMAND_PURGE ] ) ) : ?>
<table class="table queue">
<tr>
<th><?php esc_html_e( 'Local Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Remote Path', 'w3-total-cache' ); ?></th>
<th><?php esc_html_e( 'Last Error', 'w3-total-cache' ); ?></th>
<th width="25%"><?php esc_html_e( 'Date', 'w3-total-cache' ); ?></th>
<th width="10%"><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></th>
</tr>
<?php foreach ( (array) $queue[ W3TC_CDN_COMMAND_PURGE ] as $result ) : ?>
<tr>
<td><?php echo esc_html( $result->local_path ); ?></td>
<td><?php echo esc_html( $result->remote_path ); ?></td>
<td><?php echo esc_html( $result->last_error ); ?></td>
<td align="center"><?php echo esc_html( $result->date ); ?></td>
<td align="center">
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=purge&amp;cdn_queue_action=delete&amp;cdn_queue_id=<?php echo esc_attr( $result->id ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_delete"><?php esc_html_e( 'Delete', 'w3-total-cache' ); ?></a>
</td>
</tr>
<?php endforeach; ?>
</table>
<p>
<a href="admin.php?page=w3tc_cdn&amp;w3tc_cdn_queue&amp;cdn_queue_tab=purge&amp;cdn_queue_action=empty&amp;cdn_queue_type=<?php echo esc_attr( W3TC_CDN_COMMAND_PURGE ); ?>&amp;_wpnonce=<?php echo esc_attr( $nonce ); ?>" class="cdn_queue_empty"><?php esc_html_e( 'Empty purge queue', 'w3-total-cache' ); ?></a>
</p>
<?php else : ?>
<p class="empty"><?php esc_html_e( 'Purge queue is empty', 'w3-total-cache' ); ?></p>
<?php endif; ?>
</div>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,78 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php require W3TC_INC_DIR . '/popup/common/header.php'; ?>
<script type="text/javascript">/*<![CDATA[*/
jQuery(function() {
W3tc_Popup_Cdn_Rename_Domain.nonce = '<?php echo esc_html( wp_create_nonce( 'w3tc' ) ); ?>';
W3tc_Popup_Cdn_Rename_Domain.init('');
});
/*]]>*/</script>
<p>
<?php
echo wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'This tool allows you to modify the URL of Media Library attachments. Use it if the "WordPress address (%1$sURL%2$s)" value has been changed in the past.',
'w3-total-cache'
),
'<acronym title="' . __( 'Uniform Resource Indicator', 'w3-total-cache' ) . '">',
'</acronym>'
),
array(
'acronym' => array(
'title' => array(),
),
)
);
?>
</p>
<table cellspacing="5">
<tr>
<td><?php esc_html_e( 'Total posts:', 'w3-total-cache' ); ?></td>
<td id="cdn_rename_domain_total"><?php echo esc_html( $total ); ?></td>
</tr>
<tr>
<td><?php esc_html_e( 'Processed:', 'w3-total-cache' ); ?></td>
<td id="cdn_rename_domain_processed">0</td>
</tr>
<tr>
<td><?php esc_html_e( 'Status:', 'w3-total-cache' ); ?></td>
<td id="cdn_rename_domain_status">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Time elapsed:', 'w3-total-cache' ); ?></td>
<td id="cdn_rename_domain_elapsed">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Last response:', 'w3-total-cache' ); ?></td>
<td id="cdn_rename_domain_last_response">-</td>
</tr>
<tr>
<td><?php esc_html_e( 'Domains to rename:', 'w3-total-cache' ); ?></td>
<td>
<textarea cols="40" rows="3" id="cdn_rename_domain_names"></textarea><br />
<?php esc_html_e( 'e.g.: domain.com', 'w3-total-cache' ); ?>
</td>
</tr>
</table>
<p>
<input id="cdn_rename_domain_start" class="button-primary" type="button" value="<?php esc_html_e( 'Start', 'w3-total-cache' ); ?>" <?php echo ! $total ? 'disabled="disabled"' : ''; ?>/>
</p>
<div id="cdn_rename_domain_progress" class="media-item">
<div class="progress"><div class="bar"><div class="filename original"><span class="percent">0%</span></div></div></div>
<div class="clear"></div>
</div>
<div id="cdn_rename_domain_log" class="log"></div>
<?php require W3TC_INC_DIR . '/popup/common/footer.php'; ?>

View File

@ -0,0 +1,3 @@
</div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
if ( ! isset( $title ) ) {
$title = 'Untitled';
}
if ( ! isset( $errors ) ) {
$errors = array();
}
if ( ! isset( $notes ) ) {
$notes = array();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action( 'admin_xml_ns' ); ?> <?php language_attributes(); ?>>
<head>
<link rel="stylesheet" type="text/css" href="<?php echo esc_url( plugins_url( 'pub/css/popup.css?ver=' . W3TC_VERSION, W3TC_FILE ) ); ?>" />
<script type="text/javascript" src="<?php echo esc_url( site_url( 'wp-includes/js/jquery/jquery.js?ver=' . W3TC_VERSION ) ); ?>"></script>
<script type="text/javascript" src="<?php echo esc_url( plugins_url( 'pub/js/metadata.js?ver=' . W3TC_VERSION, W3TC_FILE ) ); ?>"></script>
<script type="text/javascript" src="<?php echo esc_url( plugins_url( 'pub/js/popup.js?ver=' . W3TC_VERSION, W3TC_FILE ) ); ?>"></script>
<title><?php echo esc_html( $title ); ?> - W3 Total Cache</title>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo esc_attr( get_option( 'blog_charset' ) ); ?>" />
</head>
<body>
<div id="content">
<h1><?php echo esc_html( $title ); ?></h1>
<?php if ( count( $errors ) ) : ?>
<div class="error">
<?php foreach ( $errors as $error ) : ?>
<p><?php echo esc_html( $error ); ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if ( count( $notes ) ) : ?>
<div class="updated">
<?php foreach ( $notes as $note ) : ?>
<p><?php echo esc_html( $note ); ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>