PluginProbe
Redirection / 2.3.5
Redirection v2.3.5
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 / admin / log.php

log.php in Redirection 2.3.5, at view/admin/log.php

48 lines 1.7 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 <?php screen_icon(); ?>
4
5 <h2><?php _e ('Redirection Log', 'redirection'); ?></h2>
6
7 <?php $this->render_admin( 'submenu', array( 'options' => $options ) ); ?>
8
9 <form method="POST" action="">
10 <?php $table->search_box( __( 'Search' ), 'search_id' ); ?>
11 <?php $table->display(); ?>
12 </form>
13
14 <div style="clear: both"></div>
15 </div>
16
17 <?php $this->render_admin ('add', array ('hidden' => true))?>
18
19 <div class="wrap">
20 <h2><?php _e( 'Process Current Logs', 'redirection' ); ?></h2>
21 <p><?php _e( 'These actions will affect all currently available logs (i.e. your search phrase will restrict the log items).', 'redirection' ); ?></p>
22
23 <form action="" method="post" accept-charset="utf-8">
24 <?php wp_nonce_field ('redirection-process_logs'); ?>
25
26 <?php if ( isset( $_POST['s'] ) ): ?>
27 <input type="hidden" name="s" value="<?php echo esc_attr( $_POST['s'] ); ?>" />
28 <?php endif; ?>
29
30 <input class="button-primary" type="submit" name="deleteall" value="<?php esc_attr_e( 'Delete Logs', 'redirection' ); ?>"/>
31 </form>
32 </div>
33
34 <script type="text/javascript">
35 var redirection;
36
37 jQuery(document).ready( function() {
38 redirection = new Redirection( {
39 progress: '<img src="<?php echo $this->url () ?>/images/progress.gif" alt="loading" width="50" height="16"/>',
40 ajaxurl: '<?php echo admin_url( 'admin-ajax.php' ) ?>',
41 nonce: '<?php echo wp_create_nonce( 'redirection-items' ); ?>',
42 none_select: '<?php echo esc_js( __( 'No items have been selected', 'redirection' ) ); ?>',
43 are_you_sure: '<?php echo esc_js( __( 'Are you sure?', 'redirection') ); ?>',
44 });
45 redirection.logs();
46 });
47 </script>
48