| 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 |
— |
| 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 admin_url( 'tools.php?page=redirection.php' ); ?>&sub=log&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 esc_attr( $redirect->id ) ?>"/> |
| 21 |
|
| 22 |
<a href="<?php echo esc_attr( $this->url( $redirect->url ) ) ?>" class="redirection-edit"> |
| 23 |
<?php if ($redirect->title) echo esc_html( $redirect->title ); else echo esc_html( RE_Log::show_url( $redirect->url ) ); ?> |
| 24 |
</a> |
| 25 |
|
| 26 |
<?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?> |
| 27 |
|
| 28 |
<?php if ($redirect->status == 'disabled') : ?> |
| 29 |
— <?php _e ('disabled', 'redirection'); ?> |
| 30 |
<?php endif; ?> |
| 31 |
</div> |
| 32 |
|