32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Dynamic lists update template.
|
|
*
|
|
* @since 3.11.4
|
|
*/
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
?>
|
|
|
|
<div class="wpr-tools">
|
|
<div class="wpr-tools-col">
|
|
<div class="wpr-title3 wpr-tools-label wpr-icon-export"><?php esc_html_e( 'Update Inclusion and Exclusion Lists', 'rocket' ); ?></div>
|
|
<div class="wpr-field-description">
|
|
<?php
|
|
printf(
|
|
// translators: %1$s = opening link tag, %2$s = closing link tag.
|
|
esc_html__( 'Compatibility lists are downloaded automatically every week. Click the button if you want to update them manually. %1$sMore info%2$s', 'rocket' ),
|
|
'<a href="' . esc_url( $data['beacon']['url'] ) . '" data-beacon-article="' . esc_attr( $data['beacon']['id'] ) . '" target="_blank" rel="noopener noreferrer">',
|
|
'</a>'
|
|
);
|
|
?>
|
|
</div>
|
|
<div id="wpr-update-exclusion-msg" class="wpr-field-description"></div>
|
|
</div>
|
|
<div class="wpr-tools-col">
|
|
<button id="wpr-update-exclusion-list" class="wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-refresh">
|
|
<?php esc_html_e( 'Update lists', 'rocket' ); ?>
|
|
</button>
|
|
</div>
|
|
</div>
|