File manager - Edit - /home/theblueo/questionnaire/wp-content/plugins/user-registration/includes/admin/views/html-admin-page-status-logs.php
Back
<?php /** * Admin View: Page - Status Logs */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } ?> <?php if ( $logs ) : ?> <div id="log-viewer-select" style=" padding: 10px 0 8px; line-height: 28px;"> <div class="alignleft"> <h2> <?php echo esc_html( $viewed_log ); ?> <?php if ( ! empty( $handle ) ) : ?> <a class="page-title-action" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'handle' => $handle ), admin_url( 'admin.php?page=user-registration-status' ) ), 'remove_log' ) ); ?>" class="button"><?php esc_html_e( 'Delete log', 'user-registration' ); ?></a> <?php endif; ?> </h2> </div> <div class="alignright"> <form action="<?php echo admin_url( 'admin.php?page=user-registration-status' ); ?>" method="post"> <select name="log_file" style="max-width: 450px;vertical-align:inherit"> <?php foreach ( $logs as $log_key => $log_file ) : ?> <option value="<?php echo esc_attr( $log_key ); ?>" <?php selected( sanitize_title( $viewed_log ), $log_key ); ?>><?php echo esc_html( $log_file ); ?> (<?php echo date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), filemtime( UR_LOG_DIR . $log_file ) ); ?> ) </option> <?php endforeach; ?> </select> <input type="submit" class="button" value="<?php esc_attr_e( 'View', 'user-registration' ); ?>"/> </form> </div> <div class="clear"></div> </div> <div id="log-viewer" style=" background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 1px 1px rgba(0,0,0,.04); padding: 5px 20px;"> <pre><?php echo esc_html( file_get_contents( UR_LOG_DIR . $viewed_log ) ); ?></pre> </div> <?php else : ?> <div class="updated user-registration-message inline"> <p><?php _e( 'There are currently no logs to view.', 'user-registration' ); ?></p></div> <?php endif; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings