PluginProbe
Redirection / 2.2.7
Redirection v2.2.7
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 / group_edit.php

group_edit.php in Redirection 2.2.7, at view/admin/group_edit.php

32 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="item" style="width:70%">
3 <form method="post" accept-charset="utf-8" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
4 <table class="edit">
5 <tr>
6 <th width="70"><?php _e ('Name', 'redirection'); ?>:</th>
7 <td><input style="width: 95%" type="text" name="name" value="<?php echo esc_attr( $group->name ) ?>"/></td>
8 </tr>
9 <tr>
10 <th width="70"><?php _e ('Tracked', 'redirection'); ?>:</th>
11 <td><label><input type="checkbox" name="tracking"<?php echo $this->checked ($group->tracking) ?>/> <span class="sub"><?php _e ('Whether to track \'hits\' to items', 'redirection'); ?></span></label></td>
12 </tr>
13 <tr>
14 <th width="70"><?php _e ('Enabled', 'redirection'); ?>:</th>
15 <td><label><input type="checkbox" name="status"<?php if ($group->status == 'enabled') echo ' checked="checked"' ?>/> <span class="sub"><?php _e ('Disabling a group will disable all items contained within it', 'redirection'); ?></span></label></td>
16 </tr>
17 <tr>
18 <th width="70"></th>
19 <td>
20 <input class="button-primary" type="submit" name="save" value="<?php _e ('Save', 'redirection'); ?>"/>
21 <input class="button-secondary" type="submit" name="cancel" value="<?php _e ('Cancel', 'redirection'); ?>"/>
22 <img class="loader" src="<?php echo $this->url(); ?>/images/progress.gif" alt="loading" width="50" height="16" style="display: none"/>
23
24 <input type="hidden" name="action" value="red_group_save"/>
25 <input type="hidden" name="id" value="<?php echo $group->id; ?>"/>
26 <input type="hidden" name="_ajax_nonce" value="<?php echo wp_create_nonce ('redirection-group_save_'.$group->id); ?>"/>
27 </td>
28 </tr>
29 </table>
30 </form>
31 </div>
32