PluginProbe
Code Snippets / 2.10.1
Code Snippets v2.10.1
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
code-snippets / php / views / manage.php

manage.php in Code Snippets 2.10.1, at php/views/manage.php

46 lines 928 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * HTML code for the Manage Snippets page
5 *
6 * @package Code_Snippets
7 * @subpackage Views
8 */
9
10 /* Bail if accessed directly */
11 if ( ! defined( 'ABSPATH' ) ) {
12 return;
13 }
14
15 ?>
16
17 <div class="wrap">
18 <h1><?php
19 esc_html_e( 'Snippets', 'code-snippets' );
20
21 printf( '<a href="%2$s" class="page-title-action add-new-h2">%1$s</a>',
22 esc_html_x( 'Add New', 'snippet', 'code-snippets' ),
23 code_snippets_get_menu_url( 'add' )
24 );
25
26 $this->list_table->search_notice();
27 ?></h1>
28
29 <?php $this->list_table->views(); ?>
30
31 <form method="get" action="">
32 <?php
33 $this->list_table->required_form_fields( 'search_box' );
34 $this->list_table->search_box( __( 'Search Installed Snippets', 'code-snippets' ), 'search_id' );
35 ?>
36 </form>
37 <form method="post" action="">
38 <?php
39 $this->list_table->required_form_fields();
40 $this->list_table->display();
41 ?>
42 </form>
43
44 <?php do_action( 'code_snippets/admin/manage' ); ?>
45 </div>
46