PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.4.6
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.4.6
7.8.14 7.8.14.1 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 / settings / dialogs / privacy-ip-delete.php
wordpress-popup / views / admin / settings / dialogs Last commit date
data-reset-data-dialog.php 6 years ago palettes-edit-palette.php 5 years ago privacy-ip-delete.php 6 years ago
privacy-ip-delete.php
104 lines
1 <?php
2 /**
3 * Modal for deleting ips in the "privacy" tab.
4 *
5 * @package Hustle
6 * @since 4.0.3
7 */
8
9 ob_start();
10 ?>
11 <label class="sui-label" style="margin-bottom: 5px;"><?php esc_html_e( 'Delete IP Addresses', 'hustle' ); ?></label>
12
13 <div class="sui-side-tabs">
14
15 <div class="sui-tabs-menu">
16
17 <label for="hustle-remove-ips--all" class="sui-tab-item active">
18 <input type="radio"
19 name="range"
20 id="hustle-remove-ips--all"
21 value="all"
22 checked
23 />
24 <?php esc_html_e( 'All IPs', 'hustle' ); ?>
25 </label>
26
27 <label for="hustle-remove-ips--range" class="sui-tab-item">
28 <input type="radio"
29 name="range"
30 id="hustle-remove-ips--range"
31 value="range"
32 data-tab-menu="only-ips"
33 />
34 <?php esc_html_e( 'Specific IPs Only', 'hustle' ); ?>
35 </label>
36
37 </div>
38
39 <div class="sui-tabs-content">
40
41 <div class="sui-tab-boxed"
42 data-tab-content="only-ips">
43
44 <label for="hustle-remove-specific-ips" class="sui-label"><?php esc_html_e( 'Delete Specific IPs', 'hustle' ); ?></label>
45
46 <textarea name="ips"
47 rows="16"
48 placeholder="<?php esc_html_e( 'Enter your IP addresses here...', 'hustle' ); ?>"
49 id="hustle-remove-specific-ips"
50 class="sui-form-control"></textarea>
51
52 <span class="sui-description" style="margin-bottom: 20px;"><?php esc_html_e( 'Type one IP address per line. Both IPv4 and IPv6 are supported. IP ranges are also accepted in format xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxx.', 'hustle' ); ?></span>
53
54 </div>
55
56 </div>
57
58 </div>
59
60 <?php
61 $body_content = ob_get_clean();
62
63 $attributes = array(
64 'modal_id' => 'delete-ips',
65 'has_description' => true,
66 'modal_size' => 'md',
67 'sui_box_tag' => 'form',
68 'sui_box_id' => 'hustle-delete-ip-form',
69
70 'header' => array(
71 'classes' => 'sui-flatten sui-content-center sui-spacing-top--60',
72 'title' => __( 'Delete IP Addresses', 'hustle' ),
73 'title_classes' => 'sui-lg',
74 'description' => __( 'Choose the IP addresses you want to delete from your database permanently. Note that this will only remove the IP addresses from the database leaving rest of the tracking data intact.', 'hustle' ),
75 ),
76 'body' => array(
77 'content' => $body_content,
78 ),
79 'footer' => array(
80 'classes' => 'sui-content-separated',
81 'buttons' => array(
82 array(
83 'classes' => 'sui-button-ghost',
84 'text' => __( 'Cancel', 'hustle' ),
85 'is_close' => true,
86 ),
87 array(
88 'id' => 'hustle-delete-ips-submit',
89 'classes' => 'sui-button-red sui-button-ghost hustle-delete',
90 'icon' => 'trash',
91 'has_load' => true,
92 'text' => __( 'Delete IP Addresses', 'hustle' ),
93 'attributes' => array(
94 'data-nonce' => wp_create_nonce( 'hustle_remove_ips' ),
95 'data-form-id' => 'hustle-delete-ip-form',
96 ),
97 ),
98 ),
99 ),
100 );
101
102 $this->render_modal( $attributes );
103 ?>
104