PluginProbe
Redirection / 2.2.9
Redirection v2.2.9
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 / item.php

item.php in Redirection 2.2.9, at view/admin/item.php

30 lines 1.1 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
3 <div class="date" id="info_<?php echo $redirect->id ?>" style="width:8em">
4 <?php if ($redirect->last_access == 0) : ?>
5 &mdash;
6 <?php else : ?>
7 <?php echo date (str_replace ('F', 'M', get_option ('date_format')), $redirect->last_access) ?>
8 <?php endif; ?>
9 </div>
10
11 <div class="count">
12 <a href="<?php echo $this->base (); ?>?page=redirection.php&amp;sub=log&amp;redirect=<?php echo $redirect->id ?>"><?php echo $redirect->last_count ?></a>
13 </div>
14
15 <div class="type">
16 <?php echo $redirect->type () ?>
17 </div>
18
19 <div class="item<?php if ($redirect->regex) echo ' item-regex' ?>">
20 <input type="checkbox" class="check" name="checkall[]" value="<?php echo $redirect->id ?>"/>
21
22 <a href="<?php echo $this->url ($redirect->url) ?>" class="redirection-edit"><?php if ($redirect->title) echo esc_html( $redirect->title ); else echo RE_Log::show_url ($redirect->url); ?></a>
23
24 <?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?>
25
26 <?php if ($redirect->status == 'disabled') : ?>
27 &mdash; <?php _e ('disabled', 'redirection'); ?>
28 <?php endif; ?>
29 </div>
30