PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.4.6
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.4.6
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 / dashboard / dialogs / release-highlight.php
wordpress-popup / views / admin / dashboard / dialogs Last commit date
fresh-install.php 5 years ago migrate-data.php 5 years ago release-highlight.php 4 years ago review-conditions.php 5 years ago
release-highlight.php
68 lines
1 <?php
2 /**
3 * Welcome dialog for fresh installs.
4 *
5 * @package Hustle
6 * @since 4.0.0
7 */
8
9 $banner_img_1x = self::$plugin_url . 'assets/images/release-highlight-header.png';
10 $banner_img_2x = self::$plugin_url . 'assets/images/release-highlight-header@2x.png';
11 $current_user = wp_get_current_user();
12 $username = ! empty( $current_user->user_firstname ) ? $current_user->user_firstname : $current_user->user_login;
13 ?>
14
15 <div class="sui-modal sui-modal-md">
16
17 <div
18 role="dialog"
19 id="hustle-dialog--release-highlight"
20 class="sui-modal-content"
21 aria-modal="true"
22 aria-labelledby="hustle-dialog--release-highlight-title"
23 aria-describedby="hustle-dialog--release-highlight-description"
24 data-name="<?php echo esc_attr( Hustle_Dashboard_Admin::HIGHLIGHT_MODAL_NAME ); ?>"
25 >
26
27 <div class="sui-box" style="margin-bottom: 10px;">
28
29 <div class="sui-box-header sui-flatten sui-content-center sui-spacing-right--30 sui-spacing-left--30">
30
31 <button class="sui-button-icon sui-button-float--right hustle-modal-close" style="z-index: 2;" data-modal-close>
32 <span class="sui-icon-close sui-md" aria-hidden="true"></span>
33 <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span>
34 </button>
35
36 <figure role="banner" class="sui-box-banner" aria-hidden="true">
37 <?php echo $this->render_image_markup( $banner_img_1x, $banner_img_2x, 'sui-image sui-image-center' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
38 </figure>
39
40 <?php /* translators: current user's name */ ?>
41 <h3 id="hustle-dialog--release-highlight-title" class="sui-box-title sui-lg"><?php esc_html_e( 'New! Halloween Template', 'hustle' ); ?></h3>
42
43 <p id="hustle-dialog--release-highlight-description" class="sui-description">
44 <?php printf( esc_html__( "Hey %s! Need a Halloween costume for your module? We’ve just added a spooky new template, perfect for capturing ghostly leads and advertising Halloween deals!", 'hustle' ), $username ); ?>
45 </p>
46
47 <p class="sui-description">
48
49 </p>
50
51 </div>
52
53 <div class="sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50">
54
55 <button id="hustle-release-highlight-action-button" class="sui-button" data-modal-close>
56 <?php esc_html_e( 'Got It', 'hustle' ); ?>
57 </button>
58
59 </div>
60
61 </div>
62
63 <button class="sui-modal-skip" data-modal-close><?php esc_html_e( "I'll check this later", 'hustle' ); ?></button>
64
65 </div>
66
67 </div>
68