| @@ -8,29 +8,17 @@ | ||
| 8 | 8 | // Output the form and table. |
| 9 | 9 | require_once dirname( __FILE__ ) . '/../../admin/multisite-table.php'; |
| 10 | 10 | ?> |
| 11 | 11 | <div class="patchstack-font"> |
| 12 | - <?php | |
| 13 | - if ( isset( $_GET['success'], $_GET['site'] ) && ctype_digit( $_GET['site'] ) ) { | |
| 14 | - $site = get_site( $_GET['site'] ); | |
| 15 | - echo '<div class="notice notice-success inline" style="margin: 20px 0 0 0;"><p><strong>The database migration has been re-run for the site: ' . esc_url( $site->siteurl ) . '</strong></p></div>'; | |
| 16 | - } | |
| 17 | - ?> | |
| 18 | - | |
| 19 | - <div class="notice notice-success inline" style="margin: 20px 0 0 0;"> | |
| 20 | - <p> | |
| 21 | - <strong>In order to activate Patchstack on a site, go to the <a href="admin.php?page=patchstack-multisite-settings">activation page.</a></strong> | |
| 22 | - </p> | |
| 23 | - </div> | |
| 24 | - | |
| 25 | 12 | <form method="GET" style="display: table;"> |
| 26 | 13 | <div class="wrap"> |
| 27 | - <h2>Patchstack - Available Sites</h2> | |
| 14 | + <h2>Available Sites</h2> | |
| 28 | 15 | </div> |
| 29 | 16 | <input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" /> |
| 30 | 17 | <?php |
| 31 | 18 | $table = new Patchstack_Network_Sites_Table(); |
| 32 | 19 | $table->prepare_items(); |
| 20 | + $table->search_box( 'Search', 'search' ); | |
| 33 | 21 | ?> |
| 34 | 22 | </form> |
| 35 | 23 | <?php |
| 36 | 24 | $table->display(); |