PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.14.1
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.14.1
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 / commons / sui-listing / dialogs / delete-module.php
wordpress-popup / views / admin / commons / sui-listing / dialogs Last commit date
create-module 2 years ago create-module.php 5 years ago delete-module.php 6 years ago import-module-settings-section.php 6 years ago import-module.php 5 months ago manage-tracking.php 6 years ago
delete-module.php
103 lines
1 <?php
2 /**
3 * Confirmation modal for when deleting things.
4 *
5 * It's used in:
6 * -Main dashboard page => for deleting modules.
7 * -All listing pages => for deleting modules and for deleting their tracking data.
8 * -Emails lists page => for deleting submission entries.
9 * -Settings page => for deleting palettes and IPs.
10 *
11 * @package Hustle
12 * @since 4.0.0
13 */
14
15 ?>
16 <div class="sui-modal sui-modal-sm">
17
18 <div
19 role="dialog"
20 id="hustle-dialog--delete"
21 class="sui-modal-content"
22 aria-modal="true"
23 aria-labelledby="hustle-dialog--delete-title"
24 aria-describedby="hustle-dialog--delete-description"
25 >
26
27 <div class="sui-box">
28
29 <div class="sui-box-header sui-content-center sui-flatten sui-spacing-top--60">
30
31 <button class="sui-button-icon sui-button-float--right hustle-modal-close" data-modal-close>
32 <i class="sui-icon-close sui-md" aria-hidden="true"></i>
33 <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span>
34 </button>
35
36 <h3 id="hustle-dialog--delete-title" class="sui-box-title sui-lg"></h3>
37
38 </div>
39
40 <div id="hustle-delete-dialog-content"></div>
41
42 </div>
43
44 </div>
45
46 </div>
47
48 <script type="text/template" id="hustle-dialog--delete-tpl">
49
50 <form id="hustle-delete-form" method="post">
51
52 <div class="sui-box-body sui-content-center sui-spacing-top--20 sui-spacing-bottom--0">
53
54 <p id="hustle-dialog--delete-description" class="sui-description">
55 <# if ( 'undefined' !== typeof description ) { #>
56 {{ description }}
57 <# } #>
58 </p>
59
60 <# if ( 'undefined' !== typeof action ) { #>
61 <input type="hidden" name="hustle_action" value="{{ action }}" />
62 <# } #>
63
64 <# if ( 'undefined' !== typeof id ) { #>
65 <input type="hidden" name="id" value="{{ id }}" />
66 <input type="hidden" name="moduleId" value="{{ id }}" />
67 <# } #>
68
69 <?php // Used in Entries -> bulk actions. ?>
70 <# if ( 'undefined' !== typeof ids ) { #>
71 <input type="hidden" name="ids" value="{{ ids }}" />
72 <# } #>
73
74 <# if ( 'undefined' !== typeof nonce ) { #>
75 <input type="hidden" id="hustle_nonce" name="hustle_nonce" value="{{ nonce }}" />
76 <# } #>
77
78 </div>
79
80 <div class="sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--40">
81
82 <button type="button" class="sui-button sui-button-ghost hustle-cancel-button">
83 <?php esc_attr_e( 'Cancel', 'hustle' ); ?>
84 </button>
85
86 <button
87 class="sui-button sui-button-ghost sui-button-red hustle-delete-confirm {{ 'undefined' === typeof actionClass ? 'hustle-single-module-button-action' : actionClass }}"
88 data-hustle-action="{{ 'undefined' === typeof action ? 'delete' : action }}"
89 data-form-id="hustle-delete-form"
90 data-modal-close
91 >
92 <span class="sui-loading-text">
93 <span class="sui-icon-trash" aria-hidden="true"></span> <?php esc_attr_e( 'Delete', 'hustle' ); ?>
94 </span>
95 <span class="sui-icon-loader sui-loading" aria-hidden="true"></span>
96 </button>
97
98 </div>
99
100 </form>
101
102 </script>
103