HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/w3-total-cache/Cdnfsd_TransparentCDN_Page.php
<?php
/**
 * File: Cdnfsd_TransparentCDN_Page.php
 *
 * @since 0.15.0
 */

namespace W3TC;

/**
 * Class: Cdnfsd_TransparentCDN_Page
 *
 * @since 0.15.0
 */
class Cdnfsd_TransparentCDN_Page {
	/**
	 * Test API parameters.
	 *
	 * Called from plugin-admin.
	 *
	 * @since 0.15.0
	 * @static
	 */
	static public function admin_test_api_parameters_transparentcdn() {
		wp_register_script(
			'w3tc_cdn_transparentcdn_fsd',
			plugins_url( 'Cdnfsd_TransparentCDN_Page_View.js', W3TC_FILE )
		);

		wp_localize_script(
			'w3tc_cdn_transparentcdn_fsd', 'transparent_configuration_strings',
			array(
				'test_string'  => __( 'Test the API parameters offered for you site', 'w3-total-cache') ,
				'test_success' => __( 'Ok. Correct parameters', 'w3-total-cache', 'w3-total-cache' ),
				'test_failure' => __( 'Error. Check your parameters and try again or contact with support.', 'w3-total-cache' ),
			)
		);

		wp_enqueue_script(
			'w3tc_cdn_transparentcdn_fsd',
			plugins_url( 'Cdnfsd_TransparentCDN_Page_View.js', W3TC_FILE ),
			array( 'jquery' ),
			'1.0',
			true
		);
	}

	/**
	 * Render the settings box.
	 *
	 * @since 0.15.0
	 */
	static public function w3tc_settings_box_cdnfsd() {
		$config = Dispatcher::config();
		require W3TC_DIR . '/Cdnfsd_TransparentCDN_Page_View.php';
	}
}