| Server IP : 172.67.201.108 / Your IP : 216.73.217.139 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tgnew/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: Extension_Amp_Page_View.php
*
* @package W3TC
*/
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<form action="admin.php?page=w3tc_extensions&extension=amp&action=view" method="post">
<?php Util_UI::print_control_bar( 'extension_amp_form_control' ); ?>
<div class="metabox-holder">
<?php Util_Ui::postbox_header( esc_html__( 'Configuration', 'w3-total-cache' ), '', 'configuration' ); ?>
<table class="form-table">
<?php
Util_Ui::config_item(
array(
'key' => array( 'amp', 'url_type' ),
'label' => esc_html__( 'AMP URL Type:', 'w3-total-cache' ),
'control' => 'radiogroup',
'radiogroup_values' => array(
'tag' => 'tag',
'querystring' => 'query string',
),
'description' => esc_html__(
'If AMP page URLs are tag based (/my-page/amp/) or query string based (/my-page?amp)',
'w3-total-cache'
),
)
);
Util_Ui::config_item(
array(
'key' => array( 'amp', 'url_postfix' ),
'label' => esc_html__( 'AMP URL Postfix:', 'w3-total-cache' ),
'control' => 'textbox',
'description' => 'Postfix used',
)
);
?>
</table>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>