| 1 |
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?> |
| 2 |
<table style="width: 100%"> |
| 3 |
<tr> |
| 4 |
<th><a href="<?php echo $log->url ?>"><?php _e ('Source URL', 'redirection'); ?>:</a></th> |
| 5 |
<td><input style="width: 95%" type="text" name="something" readonly="readonly" value="<?php echo htmlspecialchars (urldecode ($log->url)) ?>"/></td> |
| 6 |
</tr> |
| 7 |
<?php if ($log->sent_to) : ?> |
| 8 |
<tr> |
| 9 |
<th><a href="<?php echo $log->sent_to ?>"><?php _e ('Redirect to', 'redirection'); ?>:</a></th> |
| 10 |
<td><input style="width: 95%" type="text" name="something" readonly="readonly" value="<?php echo htmlspecialchars ($log->sent_to) ?>"/></td> |
| 11 |
</tr> |
| 12 |
<?php endif; ?> |
| 13 |
<?php if ($redirect && isset($redirect->method) && $redirect->method) : ?> |
| 14 |
<tr> |
| 15 |
<th><?php _e ('Redirected by', 'redirection'); ?>:</th> |
| 16 |
<td><?php echo $redirect->method->name () ?> <?php _e ('for', 'redirection'); ?>: <code><?php echo htmlspecialchars ($redirect->url) ?></code></td> |
| 17 |
</tr> |
| 18 |
<?php endif; ?> |
| 19 |
<tr> |
| 20 |
<th><?php _e ('User Agent', 'redirection'); ?>:</th> |
| 21 |
<td><input style="width: 95%" type="text" readonly="readonly" name="other" value="<?php echo htmlspecialchars ($log->agent) ?>"/></td> |
| 22 |
</tr> |
| 23 |
<tr> |
| 24 |
<td></td> |
| 25 |
<td> |
| 26 |
<input class="button-secondary" type="submit" name="cancel" value="Cancel"/> |
| 27 |
</td> |
| 28 |
</tr> |
| 29 |
</table> |
| 30 |
|