2023-06-05 11:23:16 +00:00
|
|
|
<?php
|
2023-10-22 22:21:26 +00:00
|
|
|
/**
|
|
|
|
* File: buy.php
|
|
|
|
*
|
|
|
|
* @package W3TC
|
|
|
|
*/
|
|
|
|
|
2023-06-05 11:23:16 +00:00
|
|
|
namespace W3TC;
|
|
|
|
|
|
|
|
if ( ! defined( 'W3TC' ) ) {
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
<div>
|
|
|
|
<?php
|
|
|
|
echo wp_kses(
|
|
|
|
sprintf(
|
2023-10-22 22:21:26 +00:00
|
|
|
// translators: 1 HTML a link to buy plugin.
|
2023-06-05 11:23:16 +00:00
|
|
|
__(
|
|
|
|
'Unlock more speed, %1$s now!',
|
|
|
|
'w3-total-cache'
|
|
|
|
),
|
|
|
|
'<input type="button" class="button-primary button-buy-plugin" data-src="' . esc_attr( 'page_' . $page ) . '" value="' . esc_attr( __( 'upgrade', 'w3-total-cache' ) ) . '" />'
|
|
|
|
),
|
|
|
|
array(
|
|
|
|
'input' => array(
|
|
|
|
'type' => array(),
|
|
|
|
'class' => array(),
|
|
|
|
'data-src' => array(),
|
|
|
|
'value' => array(),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
<div id="w3tc-license-instruction" style="display: none;">
|
|
|
|
<p class="description">
|
|
|
|
<?php
|
|
|
|
echo wp_kses(
|
|
|
|
sprintf(
|
|
|
|
// translators: 1 HTML a tag to W3TC licencing page.
|
|
|
|
__(
|
|
|
|
'Please enter the license key you received after successful checkout %1$s.',
|
|
|
|
'w3-total-cache'
|
|
|
|
),
|
|
|
|
'<a href="' . esc_url( network_admin_url( 'admin.php?page=w3tc_general#licensing' ) ) . '">' . esc_html( __( 'here', 'w3-total-cache' ) ) . '</a>'
|
|
|
|
),
|
|
|
|
array(
|
|
|
|
'a' => array(
|
|
|
|
'href' => array(),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|