403Webshell
Server IP : 69.39.225.240  /  Your IP : 216.73.216.138
Web Server : Apache
System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : reademotions ( 1074)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/reademotions/www/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/reademotions/www/wp-content/plugins/w3-total-cache/Extension_Swarmify_Page_View.php
<?php
namespace W3TC;

if ( ! defined( 'W3TC' ) ) {
	die();
}
?>
<p>
	Jump to:
	<a href="admin.php?page=w3tc_general"><?php esc_html_e( 'Main Menu', 'w3-total-cache' ); ?></a> |
	<a href="admin.php?page=w3tc_extensions"><?php esc_html_e( 'Extensions', 'w3-total-cache' ); ?></a>
</p>
<p>
	Swarmify extension is currently
	<?php
	if ( $config->is_extension_active_frontend( 'swarmify' ) ) {
		echo '<span class="w3tc-enabled">' . esc_html__( 'enabled', 'w3-total-cache' ) . '</span>';
	} else {
		echo '<span class="w3tc-disabled">' . esc_html__( 'disabled', 'w3-total-cache' ) . '</span>';
	}
	?>
	.
<p>

<form action="admin.php?page=w3tc_extensions&amp;extension=swarmify&amp;action=view" method="post">
	<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( 'swarmify', 'api_key' ),
					'label'         => esc_html__( 'API Key:', 'w3-total-cache' ),
					'control'       => 'textbox',
					'control_after' => Util_Ui::button_link( 'Obtain one', $swarmify_signup_url ),
					'description'   => esc_html__( 'Swarmify API Key required in order to start optimizing your videos experience', 'w3-total-cache' ),
				)
			);
			?>
		</table>
		<?php Util_Ui::button_config_save( 'extension_swarmify_configuration' ); ?>
		<?php Util_Ui::postbox_footer(); ?>

		<?php Util_Ui::postbox_header( esc_html__( 'Behavior Settings', 'w3-total-cache' ), '', 'behavior' ); ?>
		<table class="form-table">
			<?php
			Util_Ui::config_item(
				array(
					'key'            => array( 'swarmify', 'handle.htmlvideo' ),
					'label'          => esc_html__( '&lt;video&gt;:', 'w3-total-cache' ),
					'control'        => 'checkbox',
					'checkbox_label' => esc_html__( 'Optimize &lt;video&gt; HTML tags', 'w3-total-cache' ),
					'description'    => esc_html__( 'Optimize videos delivered using &lt;video&gt; HTML tag.', 'w3-total-cache' ),
				)
			);

			Util_Ui::config_item(
				array(
					'key'            => array( 'swarmify', 'handle.jwplayer' ),
					'label'          => esc_html__( 'JWPlayer:', 'w3-total-cache' ),
					'control'        => 'checkbox',
					'checkbox_label' => esc_html__( 'Optimize JWPlayer', 'w3-total-cache' ),
					'description'    => esc_html__( 'Optimize videos delivered using JWPlayer script.', 'w3-total-cache' ),
				)
			);

			Util_Ui::config_item(
				array(
					'key'            => array( 'swarmify', 'reject.logged' ),
					'label'          => esc_html__( 'Logged In:', 'w3-total-cache' ),
					'control'        => 'checkbox',
					'checkbox_label' => esc_html__( 'Don\'t optimize videos for logged in users', 'w3-total-cache' ),
					'description'    => esc_html__( 'Only unauthenticated users will view optimized version of a given page.', 'w3-total-cache' ),
				)
			);
			?>
		</table>
		<?php Util_Ui::button_config_save( 'extension_swarmify_behaviour' ); ?>
		<?php Util_Ui::postbox_footer(); ?>
	</div>
</form>

Youez - 2016 - github.com/yon3zu
LinuXploit