PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.9
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.9
7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / email-lists / search-bar.php
wordpress-popup / views / admin / email-lists Last commit date
dialog-filter.php 3 years ago emails-list.php 9 months ago pagination-desktop.php 3 years ago pagination-mobile.php 5 years ago search-bar.php 3 years ago
search-bar.php
75 lines
1 <?php
2 /**
3 * Search bar section.
4 *
5 * @var Hustle_Layout_Helper $this
6 *
7 * @package Hustle
8 * @since 4.0.0
9 */
10
11 $modules = $this->admin->get_modules();
12 ?>
13 <div class="sui-box">
14
15 <div class="hui-box-entries-search">
16
17 <form id="hustle-entries-search-form" class="hui-search-left" method="get">
18
19 <input
20 type="hidden"
21 name="page"
22 value="hustle_entries"
23 />
24
25 <select
26 name="module_type"
27 class="sui-select sui-select-sm sui-select-inline"
28 onchange="submit()"
29 data-width="150"
30 >
31 <?php foreach ( $this->admin->get_module_types() as $module_type => $name ) { ?>
32 <option value="<?php echo esc_attr( $module_type ); ?>" <?php echo selected( $module_type, $this->admin->get_current_module_type() ); ?>><?php echo esc_html( $name ); ?></option>
33 <?php } ?>
34 </select>
35
36 <select name="module_id" class="sui-select sui-select-sm sui-select-inline" data-width="250" data-search="true" data-placeholder="<?php esc_attr_e( 'Choose module', 'hustle' ); ?>">
37
38 <option></option>
39
40 <?php foreach ( $modules as $module ) { ?>
41 <option value="<?php echo esc_attr( $module->module_id ); ?>" <?php selected( $module->module_id, $this->admin->get_current_module_id() ); ?>>
42 <?php echo esc_html( ! empty( $module->module_name ) ? $module->module_name : $module->module_id ); ?>
43 </option>
44 <?php } ?>
45
46 </select>
47
48 <button class="sui-button sui-button-blue" onclick="submit()">
49 <?php esc_html_e( 'Show Email List', 'hustle' ); ?>
50 </button>
51
52 </form>
53
54 <?php if ( $has_entries ) : ?>
55
56 <div class="hui-search-right">
57
58 <form method="post">
59 <input type="hidden" name="hustle_action" value="export_listing">
60 <input type="hidden" name="id" value="<?php echo esc_attr( $module->id ); ?>">
61 <?php wp_nonce_field( 'hustle_module_export_listing' ); ?>
62 <button class="sui-button sui-button-ghost">
63 <span class="sui-icon-paperclip" aria-hidden="true"></span>
64 <?php esc_html_e( 'Export CSV', 'hustle' ); ?>
65 </button>
66 </form>
67
68 </div>
69
70 <?php endif; ?>
71
72 </div>
73
74 </div>
75