';
self::cloudflare_selectbox(
$settings,
array(
'key' => 'rocket_loader',
'label' => esc_html__( 'Rocket Loader:', 'w3-total-cache' ),
'values' => array(
'' => '',
'off' => esc_html__( 'Off', 'w3-total-cache' ),
'on' => esc_html__( 'On (automatically run on the JavaScript resources on your site)', 'w3-total-cache' ),
'manual' => esc_html__( 'Manual (run when attribute present only)', 'w3-total-cache' ),
),
'description' => esc_html__( 'Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload.', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'minify_js',
'label' => wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Minify %1$sJS%2$s:',
'w3-total-cache'
),
'
',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
'description' => esc_html__( 'Minify JavaScript files.', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'minify_css',
'label' => wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Minify %1$sCSS%2$s:',
'w3-total-cache'
),
'
',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
'description' => 'Minify CSS files.',
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'minify_html',
'label' => wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Minify %1$sHTML%2$s:',
'w3-total-cache'
),
'
',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
'description' => wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'Minify %1$sHTML%2$s content.',
'w3-total-cache'
),
'
',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'server_side_exclude',
'label' => esc_html__( 'Server side exclude:', 'w3-total-cache' ),
'description' => esc_html__( 'If there is sensitive content on your website that you want visible to real visitors, but that you want to hide from suspicious visitors, all you have to do is wrap the content with CloudFlare SSE tags.', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'email_obfuscation',
'label' => esc_html__( 'Email obfuscation:', 'w3-total-cache' ),
'description' => esc_html__( 'Encrypt email adresses on your web page from bots, while keeping them visible to humans. ', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'response_buffering',
'label' => esc_html__( 'Response buffering"', 'w3-total-cache' ),
'description' => esc_html__( 'CloudFlare may buffer the whole payload to deliver it at once to the client versus allowing it to be delivered in chunks.', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'prefetch_preload',
'label' => esc_html__( 'Prefetch preload:', 'w3-total-cache' ),
'description' => esc_html__( 'CloudFlare will prefetch any URLs that are included in the response headers.', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'mobile_redirect',
'label' => esc_html__( 'Mobile redirect:', 'w3-total-cache' ),
'description' => esc_html__( 'Automatically redirect visitors on mobile devices to a mobile-optimized subdomain', 'w3-total-cache' ),
)
);
self::cloudflare_checkbox(
$settings,
array(
'key' => 'origin_error_page_pass_thru',
'label' => esc_html__( 'Enable error pages:', 'w3-total-cache' ),
'description' => esc_html__( 'CloudFlare will proxy customer error pages on any 502,504 errors on origin server instead of showing a default CloudFlare error page. This does not apply to 522 errors and is limited to Enterprise Zones.', 'w3-total-cache' ),
)
);
echo '';
self::cloudflare_button_save( 'content_processing' );
Util_Ui::postbox_footer();
Util_Ui::postbox_header( esc_html__( 'CloudFlare: Image Processing', 'w3-total-cache' ), '', 'general' );
echo '
';
self::cloudflare_button_save( 'image_processing' );
Util_Ui::postbox_footer();
Util_Ui::postbox_header( esc_html__( 'CloudFlare: Protection', 'w3-total-cache' ), '', 'general' );
echo '
';
self::cloudflare_button_save( 'protection' );
Util_Ui::postbox_footer();
Util_Ui::postbox_header(
wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'CloudFlare: %1$sIP%2$s',
'w3-total-cache'
),
'
',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
'',
'general'
);
echo '';
self::cloudflare_button_save( 'ip' );
Util_Ui::postbox_footer();
Util_Ui::postbox_header(
wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'CloudFlare: %1$sSSL%2$s',
'w3-total-cache'
),
'',
''
),
array(
'acronym' => array(
'title' => array(),
),
)
),
'',
'general'
);
echo '';
self::cloudflare_button_save( 'ssl' );
Util_Ui::postbox_footer();
endif;
?>