PluginProbe
Redirection / 2.6
Redirection v2.6
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 / module-edit.php

module-edit.php in Redirection 2.6, at view/module-edit.php

30 lines 920 B
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 <table class="edit" data-url="<?php echo admin_url( 'admin-ajax.php' ) ?>">
4 <p><?php echo esc_html( $module->get_name() ); ?></p>
5
6 <?php $module->render_config(); ?>
7
8 <tr>
9 <th width="70"></th>
10 <td>
11 <div class="table-actions">
12 <input class="button-primary" type="submit" name="save" value="<?php _e( 'Save', 'redirection' ); ?>"/>
13 <input class="button-secondary" type="submit" name="cancel" value="<?php _e( 'Cancel', 'redirection' ); ?>"/>
14
15 <input type="hidden" name="action" value="red_module_save"/>
16 <input type="hidden" name="id" value="<?php echo esc_attr( $module->get_id() ); ?>"/>
17
18 <?php wp_nonce_field( 'red_module_save_'.$module->get_id() ) ?>
19 </div>
20
21 <div class="error-container">An error</div>
22
23 <div class="table-loading">
24 <div class="spinner"></div>
25 </div>
26 </td>
27 </tr>
28 </table>
29 </div>
30