PluginProbe
Redirection / 2.3.8
Redirection v2.3.8
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.3.8, at view/admin/group_edit.php

34 lines 1.6 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 <table class="edit" data-url="<?php echo admin_url( 'admin-ajax.php' ) ?>">
3 <tr>
4 <th width="70"><?php _e ('Name', 'redirection'); ?>:</th>
5 <td><input style="width: 95%" type="text" name="name" value="<?php echo esc_attr( $group->get_name() ) ?>"/></td>
6 </tr>
7 <tr>
8 <th width="70"><?php _e ('Tracked', 'redirection'); ?>:</th>
9 <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>
10 </tr>
11 <tr>
12 <th width="70"><?php _e ('Enabled', 'redirection'); ?>:</th>
13 <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>
14 </tr>
15 <tr>
16 <th width="70"></th>
17 <td>
18 <div class="table-actions">
19 <input class="button-primary" type="submit" name="save" value="<?php _e ('Save', 'redirection'); ?>"/>
20 <input class="button-secondary" type="submit" name="cancel" value="<?php _e ('Cancel', 'redirection'); ?>"/>
21
22 <input type="hidden" name="action" value="red_group_save"/>
23 <input type="hidden" name="id" value="<?php echo esc_attr( $group->id ); ?>"/>
24 <input type="hidden" name="_ajax_nonce" value="<?php echo wp_create_nonce ('redirection-group_save_'.$group->id); ?>"/>
25 </div>
26
27 <div class="table-loading">
28 <div class="spinner"></div>
29 </div>
30 </td>
31 </tr>
32 </table>
33 </div>
34