PluginProbe
Redirection / 2.6.1
Redirection v2.6.1
5.10.0 5.9.0 5.8.1 5.8.0 3.7.2 3.7.3 4.0 4.0.1 4.1 4.1.1 4.2 4.2.1 4.2.2 4.2.3 4.3 4.3.1 4.3.2 4.3.3 4.4 4.4.1 4.4.2 4.5 4.5.1 4.6.2 4.7.1 All 130 releases
redirection / view / log.php

log.php in Redirection 2.6.1, at view/log.php

46 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>
2 <div class="wrap">
3 <h2><?php _e ('Redirection Log', 'redirection'); ?></h2>
4
5 <?php $this->render( 'submenu', array( 'options' => $options ) ); ?>
6
7 <form action="tools.php">
8 <input type="hidden" name="page" value="redirection.php"/>
9 <input type="hidden" name="sub" value="<?php echo esc_attr( $type ); ?>"/>
10
11 <?php $table->search_box( __( 'Search' ), 'search_id' ); ?>
12 </form>
13
14 <form method="POST" action="">
15 <?php $table->display(); ?>
16
17 <h3><?php _e( 'Log Management', 'redirection' ); ?></h3>
18
19 <?php wp_nonce_field( 'redirection-log_management' ); ?>
20
21 <p><?php _e( 'These apply to the current search term, if any, otherwise all logs.', 'redirection' ); ?></p>
22 <p>
23 <input class="button action" type="submit" name="delete-all" value="<?php esc_attr_e( 'Delete All' ); ?>"/>
24 </p>
25 <p>
26 <input class="button action" type="submit" name="export-csv" value="<?php esc_attr_e( 'Export To CSV' ); ?>"/>
27 </p>
28 </form>
29
30 <div style="clear: both"></div>
31 </div>
32
33 <?php $this->render( 'add', array( 'hidden' => true ) )?>
34
35 <script type="text/javascript">
36 ( function( $ ) {
37 $( document ).ready( function() {
38 var logs = new Redirection_Logs( $, '#add', '#added', '#old' );
39 var adder = new Redirection_Add( $, '#target', false );
40
41 adder.setup( 'select[name=red_action]', '#add' );
42 logs.setup( '.add-log' );
43 } );
44 } )( jQuery );
45 </script>
46