| @@ -1,24 +1,15 @@ | ||
| 1 | 1 | <?php if ( ! defined( 'ABSPATH' ) ) exit; |
| 2 | - /** | |
| 3 | - * List of Elements | |
| 4 | - * | |
| 5 | - * @package Wow_Plugin | |
| 6 | - * @copyright Copyright (c) 2018, Dmytro Lobov | |
| 7 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
| 8 | - * @since 1.0 | |
| 9 | - */ | |
| 10 | - if ( ! defined( 'ABSPATH' ) ) exit; | |
| 11 | - | |
| 12 | - require_once 'class-list-table.php'; | |
| 13 | - $list_table = new Wow_List_Table( $data, $this->plugin_slug, $this->shortcode ); | |
| 2 | + include( 'list/class-list-table.php' ); | |
| 3 | + $list_table = new Wow_List_Table($data, $this->pluginname, $this->shortcode); | |
| 14 | 4 | $list_table->prepare_items(); |
| 15 | 5 | ?> |
| 16 | 6 | <div class="wrap"> |
| 17 | - <form method="post"> | |
| 7 | + <form method="post" class="wow-login-table"> | |
| 18 | 8 | <?php |
| 19 | - $list_table->search_box( __( 'Search', 'wpcoder' ), $this->plugin_slug ); | |
| 9 | + $list_table->search_box( 'Search', $this->pluginname ); | |
| 20 | 10 | $list_table->display(); |
| 21 | 11 | ?> |
| 22 | - <input type="hidden" name="page" value="<?php echo sanitize_text_field( $_REQUEST['page'] ); ?>" /> | |
| 12 | + <input type="hidden" name="page" value="<?php echo $_REQUEST['page']; ?>" /> | |
| 13 | + <?php wp_nonce_field('wow_login_export_action','wow_login_export_field'); ?> | |
| 23 | 14 | </form> |
| 24 | 15 | </div> |