# redirection/2.4.4/view/module-edit.php

Redirection, version 2.4.4. 30 lines.

- Page: https://pluginprobe.com/plugins/redirection/2.4.4/code/view/module-edit.php
- Raw: https://pluginprobe.com/plugins/redirection/2.4.4/raw/view/module-edit.php
- Modified: 2015-06-07T17:52:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/redirection/2.4.4/code/view/module-edit.php#L10-L20`.

```php
<?php if ( !defined( 'ABSPATH' ) ) die( 'No direct access allowed' ); ?>

<table class="edit" data-url="<?php echo admin_url( 'admin-ajax.php' ) ?>">
	<p><?php echo esc_html( $module->get_name() ); ?></p>

	<?php $module->render_config(); ?>

	<tr>
		<th width="70"></th>
		<td>
			<div class="table-actions">
				<input class="button-primary" type="submit" name="save" value="<?php _e( 'Save', 'redirection' ); ?>"/>
				<input class="button-secondary" type="submit" name="cancel" value="<?php _e( 'Cancel', 'redirection' ); ?>"/>

				<input type="hidden" name="action" value="red_module_save"/>
				<input type="hidden" name="id" value="<?php echo esc_attr( $module->get_id() ); ?>"/>

				<?php wp_nonce_field( 'red_module_save_'.$module->get_id() ) ?>
			</div>

			<div class="error-container">An error</div>

			<div class="table-loading">
				<div class="spinner"></div>
			</div>
		</td>
	</tr>
</table>
</div>

```
