PluginProbe
HTML Forms – Simple WordPress Forms Plugin / 1.0.6
HTML Forms – Simple WordPress Forms Plugin v1.0.6
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.3.0 1.3.1 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 1.3.17 All 66 releases
html-forms / views / overview.php

overview.php in HTML Forms – Simple WordPress Forms Plugin 1.0.6, at views/overview.php

45 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) or exit;
4
5 /**
6 * @var HTML_Forms\Admin\Table $table
7 */
8 ?>
9 <div class="wrap hf">
10
11 <p class="breadcrumbs">
12 <span class="prefix"><?php echo __( 'You are here: ', 'html-forms' ); ?></span>
13 <a href="<?php echo admin_url( 'admin.php?page=html-forms' ); ?>">HTML Forms</a> &rsaquo;
14 <span class="current-crumb"><strong><?php _e( 'Forms', 'html-forms' ); ?></strong></span>
15 </p>
16
17 <h1 class="page-title"><?php _e( 'Forms', 'html-forms' ); ?>
18 <a href="<?php echo admin_url( 'admin.php?page=html-forms-add-form' ); ?>" class="page-title-action">
19 <span class="dashicons dashicons-plus-alt" style="vertical-align: middle; line-height: 16px; margin: 0 4px 0 0; "></span>
20 <?php _e( 'Add new form', 'html-forms' ); ?>
21 </a>
22
23 <?php if ( ! empty( $_GET['s'] ) ) {
24 printf(' <span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', sanitize_text_field( $_GET['s'] ) );
25 } ?>
26 </h1>
27
28
29 <?php $table->views(); ?>
30
31 <form method="get" action="<?php echo admin_url( 'admin.php' ); ?>">
32 <input type="hidden" name="page" value="<?php echo esc_attr( $_GET['page'] ); ?>" />
33 <?php if( ! empty( $_GET['post_status'] ) ) { ?>
34 <input type="hidden" name="post_status" value="<?php echo esc_attr( $_GET['post_status'] ); ?>" />
35 <?php } ?>
36 <?php $table->search_box( 'search', 'html-forms-search' ); ?>
37 </form>
38
39 <form method="post">
40 <?php $table->display(); ?>
41 </form>
42
43 <?php require __DIR__ . '/admin-footer.php'; ?>
44 </div>
45