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/index/wp-content/plugins/w3-total-cache/inc/popup/cdn_import_library.php
<?php
namespace W3TC;

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

?>
<?php include W3TC_INC_DIR . '/popup/common/header.php'; ?>

<script type="text/javascript">/*<![CDATA[*/
jQuery(function() {
    W3tc_Popup_Cdn_Import_Library.nonce = '<?php echo wp_create_nonce( 'w3tc' ); ?>';
    W3tc_Popup_Cdn_Import_Library.cdn_host = '<?php echo $cdn_host; ?>';
	W3tc_Popup_Cdn_Import_Library.init();
});
/*]]>*/</script>

<p><?php _e( 'This tool will copy post or page attachments into the Media Library allowing WordPress to work as intended.', 'w3-total-cache' ); ?></p>
<table cellspacing="5">
	<tr>
		<td><?php _e( 'Total posts:', 'w3-total-cache' ); ?></td>
		<td id="cdn_import_library_total"><?php echo $total; ?></td>
	</tr>
	<tr>
		<td><?php _e( 'Processed:', 'w3-total-cache' ); ?></td>
		<td id="cdn_import_library_processed">0</td>
	</tr>
	<tr>
		<td><?php _e( 'Status:', 'w3-total-cache' ); ?></td>
		<td id="cdn_import_library_status">-</td>
	</tr>
	<tr>
		<td><?php _e( 'Time elapsed:', 'w3-total-cache' ); ?></td>
		<td id="cdn_import_library_elapsed">-</td>
	</tr>
	<tr>
		<td><?php _e( 'Last response:', 'w3-total-cache' ); ?></td>
		<td id="cdn_import_library_last_response">-</td>
	</tr>
	<tr>
		<td colspan="2">
			<label><input id="cdn_import_library_redirect_permanent" type="checkbox" checked="checked" /> <?php _e( 'Create a list of permanent (301) redirects for use in your site\'s .htaccess file', 'w3-total-cache' ); ?></label>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<label><input id="cdn_import_library_redirect_cdn" type="checkbox" /> <?php _e( 'Create a list of redirects to <acronym title="Content Delivery Network">CDN</acronym> (hostname specified in hostname field #1.)', 'w3-total-cache' ); ?></label>
		</td>
	</tr>
        <tr>
                <td colspan="2">
                    <?php $config_state = Dispatcher::config_state()?>
                    <label><input id="cdn_import_external" type="checkbox" name="cdn.import.external" <?php checked( $config_state->get_boolean( 'cdn.import.external' ), true ) ?>/> <?php Util_Ui::e_config_label( 'cdn.import.external' ) ?></label>
                </td>
        </tr>
</table>

<p>
	<input id="cdn_import_library_start" class="button-primary" type="button" value="<?php _e( 'Start', 'w3-total-cache' ); ?>"<?php if ( ! $total ): ?> disabled="disabled"<?php endif; ?> />
</p>

<div id="cdn_import_library_progress" class="media-item">
    <div class="progress"><div class="bar"><div class="filename original"><span class="percent">0%</span></div></div></div>
	<div class="clear"></div>
</div>

<div id="cdn_import_library_log" class="log"></div>

<p>
	<?php _e( 'Add the following directives to your .htaccess file or if there are several hundred they should be added directly to your configuration file:', 'w3-total-cache' ); ?>
</p>

<p>
	<textarea rows="10" cols="90" id="cdn_import_library_rules" class="rules"></textarea>
</p>

<?php include W3TC_INC_DIR . '/popup/common/footer.php'; ?>