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/site/wp-content/plugins/w3-total-cache/Cdn_MaxCdnFsd_Page_View.php
<?php
namespace W3TC;

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

$key = $config->get_string( 'cdn.maxcdn_fsd.api_key' );
$authorized = !empty( $key );

include W3TC_DIR . '/Cdn_Page_View_Header.php';
?>
<p id="w3tc-options-menu">
    <?php _e( 'Jump to:', 'w3-total-cache' ); ?>
    <a href="?page=w3tc_general"><?php _e( 'Main Menu', 'w3-total-cache' ); ?></a>
</p>
<?php
include W3TC_DIR . '/Cdn_Page_View_Fsd_HeaderActions.php';
?>
<form id="cdn_form" action="admin.php?page=w3tc_cdn" method="post">
    <div class="metabox-holder">
        <?php Util_Ui::postbox_header( __( 'Configuration', 'w3-total-cache' ),
	'', 'configuration' ); ?>
        <table class="form-table">
			<tr>
				<th style="width: 300px;">
					<label>
						<?php
_e( 'Specify account credentials:',
	'w3-total-cache' );
?>
					</label>
				</th>
				<td>
					<?php if ( $authorized ): ?>
						<input class="w3tc_cdn_maxcdn_fsd_authorize button-primary"
							type="button"
							value="<?php _e( 'Reauthorize', 'w3-total-cache' ); ?>"
							/>
					<?php else: ?>
						<input class="w3tc_cdn_maxcdn_fsd_authorize button-primary"
							type="button"
							value="<?php _e( 'Authorize', 'w3-total-cache' ); ?>"
							/>
					<?php endif ?>
				</td>
			</tr>

			<?php if ( $authorized ): ?>
			<tr>
				<th>
					<label><?php _e( 'CDN CNAME:', 'w3-total-cache' ); ?></label>
				</th>
				<td class="w3tc_config_value_text">
					<?php
echo $config->get_string( 'cdn.maxcdn_fsd.zone_domain' )
?><br />
					<span class="description">
						This website domain has to be CNAME pointing to this
						CDN domain
					</span>
				</td>
			</tr>
			<?php endif ?>
        </table>

        <?php Util_Ui::button_config_save( 'cdn_configuration' ); ?>
        <?php Util_Ui::postbox_footer(); ?>
    </div>
</form>

<?php
include W3TC_INC_DIR . '/options/common/footer.php';