PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
woocommerce
/
includes
/
admin
/
views
<?php /** * Admin View: Page - Status Logs * * @package WooCommerce\Admin\Logs */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <?php if ( $logs ) : ?> <div id="log-viewer-select"> <div class="alignleft"> <h2> <?php echo esc_html( $viewed_log ); ?> <?php if ( ! empty( $viewed_log ) ) : ?> <a class="page-title-action" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'handle' => sanitize_title( $viewed_log ) ), admin_url( 'admin.php?page=wc-status&tab=logs' ) ), 'remove_log' ) ); ?>" class="button"><?php esc_html_e( 'Delete log', 'woocommerce' ); ?></a> <?php endif; ?> </h2> </div> <div class="alignright"> <form action="<?php echo esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ); ?>" method="post"> <select name="log_file"> <?php foreach ( $logs as $log_key => $log_file ) : ?> <?php $timestamp = filemtime( WC_LOG_DIR . $log_file ); /* translators: 1: last access date 2: last access time */ $date = sprintf( __( '%1$s at %2$s', 'woocommerce' ), date_i18n( wc_date_format(), $timestamp ), date_i18n( wc_time_format(), $timestamp ) ); ?> <option value="<?php echo esc_attr( $log_key ); ?>" <?php selected( sanitize_title( $viewed_log ), $log_key ); ?>><?php echo esc_html( $log_file ); ?> (<?php echo esc_html( $date ); ?>)</option> <?php endforeach; ?> </select> <button type="submit" class="button" value="<?php esc_attr_e( 'View', 'woocommerce' ); ?>"><?php esc_html_e( 'View', 'woocommerce' ); ?></button> </form> </div> <div class="clear"></div> </div> <div id="log-viewer"> <pre><?php echo esc_html( file_get_contents( WC_LOG_DIR . $viewed_log ) ); ?></pre> </div> <?php else : ?> <div class="updated woocommerce-message inline"><p><?php esc_html_e( 'There are currently no logs to view.', 'woocommerce' ); ?></p></div> <?php endif; ?>
[-] html-admin-page-addons.php
[edit]
[-] html-notice-no-shipping-methods.php
[edit]
[-] html-notice-custom.php
[edit]
[-] html-notice-wp-php-minimum-requirements.php
[edit]
[-] html-notice-regenerating-lookup-table.php
[edit]
[-] html-admin-page-status-report.php
[edit]
[-] html-notice-updated.php
[edit]
[-] html-admin-settings.php
[edit]
[-] html-notice-regenerating-thumbnails.php
[edit]
[-] html-notice-updating.php
[edit]
[-] html-notice-uploads-directory-is-unprotected.php
[edit]
[+]
..
[-] html-report-by-date.php
[edit]
[-] html-bulk-edit-product.php
[edit]
[-] html-notice-legacy-shipping.php
[edit]
[-] html-admin-page-status-logs-db.php
[edit]
[-] html-admin-dashboard-setup.php
[edit]
[-] html-admin-page-reports.php
[edit]
[-] html-notice-maxmind-license-key.php
[edit]
[-] html-quick-edit-product.php
[edit]
[-] html-admin-page-product-export.php
[edit]
[-] html-admin-page-status-tools.php
[edit]
[-] html-admin-page-status.php
[edit]
[-] html-notice-secure-connection.php
[edit]
[-] html-admin-page-status-logs.php
[edit]
[-] html-notice-install.php
[edit]
[-] html-notice-redirect-only-download.php
[edit]
[-] html-notice-template-check.php
[edit]
[-] html-email-template-preview.php
[edit]
[-] html-notice-base-table-missing.php
[edit]
[-] html-notice-update.php
[edit]