| 1 |
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?> |
| 2 |
<div class="wrap"> |
| 3 |
<h2><?php echo esc_html( $title ); ?></h2> |
| 4 |
|
| 5 |
<?php $this->render( 'submenu', array( 'options' => $options ) ); ?> |
| 6 |
|
| 7 |
<div id="react-ui"> |
| 8 |
<noscript>Please enable JavaScript</noscript> |
| 9 |
</div> |
| 10 |
</div> |
| 11 |
|
| 12 |
<script> |
| 13 |
var Redirection_Adder, Redirection_Logger; |
| 14 |
|
| 15 |
addLoadEvent( function() { |
| 16 |
Redirection_Logger = new Redirection_Logs( jQuery, '#add', '#added', '#old' ); |
| 17 |
Redirection_Adder = new Redirection_Add( jQuery, '#target', false ); |
| 18 |
|
| 19 |
Redirection_Adder.setup( 'select[name=red_action]', '#add' ); |
| 20 |
redirection.show( 'react-ui' ); |
| 21 |
} ); |
| 22 |
</script> |
| 23 |
|
| 24 |
<?php $this->render( 'add', array( 'hidden' => true ) ); ?> |
| 25 |
|