HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/hcv/wp-content/plugins/w3-total-cache/Extension_CloudFlare_GeneralPage_View.php
<?php
namespace W3TC;

if ( !defined( 'W3TC' ) )
	die();

?>
<?php Util_Ui::postbox_header( __( 'Network Performance &amp; Security powered by CloudFlare', 'w3-total-cache' ), '', 'cloudflare' ); ?>
<?php
Util_Ui::config_overloading_button( array(
		'key' => 'cloudflare.configuration_overloaded'
	) );
?>
<p>
    <?php _e( 'CloudFlare protects and accelerates websites.', 'w3-total-cache' ) ?>
</p>

<table class="form-table">
    <?php
Util_Ui::config_item( array(
		'key' => array( 'cloudflare', 'widget_cache_mins' ),
		'label' => __( 'Cache time:', 'w3-total-cache' ),
		'control' => 'textbox',
		'description' =>
		'How many minutes data retrieved from CloudFlare ' .
		'should be stored. Minimum is 1 minute.'
	) );

Util_Ui::config_item( array(
		'key' => array( 'cloudflare', 'pagecache' ),
		'label' => __( 'Page Caching:', 'w3-total-cache' ),
		'control' => 'checkbox',
		'checkbox_label' => 'Flush CloudFlare on Post Modifications',
		'description' =>
		'Enable when you have html pages cached on CloudFlare level.'
	) );
?>
</table>

<?php
Util_Ui::button_config_save( 'general_cloudflare',
	'<input type="submit" name="w3tc_cloudflare_flush" value="' .
	__( 'Empty cache', 'w3-total-cache' ) . '"' .
	' class="button" />' );
?>
<?php Util_Ui::postbox_footer(); ?>