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 / dashboard / dialogs / release-highlight.php
wordpress-popup / views / admin / dashboard / dialogs Last commit date
fresh-install.php 2 years ago migrate-data.php 2 years ago release-highlight.php 3 years ago review-conditions.php 3 years ago
release-highlight.php
75 lines
1 <?php
2 /**
3 * Welcome dialog for fresh installs.
4 *
5 * @package Hustle
6 * @since 4.0.0
7 */
8
9 $user = wp_get_current_user();
10 $username = ! empty( $user->user_firstname ) ? $user->user_firstname : $user->user_login;
11 $url = 'https://wpmudev.com/docs/wpmu-dev-plugins/hustle/#integrations';
12 ?>
13
14 <div class="sui-modal sui-modal-md">
15
16 <div
17 role="dialog"
18 id="hustle-dialog--release-highlight"
19 class="sui-modal-content"
20 aria-modal="true"
21 aria-labelledby="hustle-dialog--release-highlight-title"
22 aria-describedby="hustle-dialog--release-highlight-description"
23 data-name="<?php echo esc_attr( Hustle_Dashboard_Admin::HIGHLIGHT_MODAL_NAME ); ?>"
24 >
25
26 <div class="sui-box" style="margin-bottom: 10px;">
27
28 <div class="sui-box-header sui-flatten sui-content-center sui-spacing-right--30 sui-spacing-left--30">
29
30 <button class="sui-button-icon sui-button-float--right hustle-modal-close" style="z-index: 2;" data-modal-close>
31 <span class="sui-icon-close sui-md" aria-hidden="true"></span>
32 <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span>
33 </button>
34
35 <figure role="banner" class="sui-box-banner" aria-hidden="true">
36 <?php
37 $image_attrs = array(
38 'path' => self::$plugin_url . 'assets/images/release-highlight-header.png',
39 'retina_path' => self::$plugin_url . 'assets/images/release-highlight-header@2x.png',
40 'class' => 'sui-image sui-image-center',
41 );
42
43 $this->render( 'admin/image-markup', $image_attrs );
44 ?>
45 </figure>
46
47 <h3 id="hustle-dialog--release-highlight-title" class="sui-box-title sui-lg"><?php esc_html_e( 'Accessibility and Visibility Improvements', 'hustle' ); ?></h3>
48
49 <p id="hustle-dialog--release-highlight-description" class="sui-description">
50 <?php /* translators: 1. open link 2. close link 3. Plugin name */ ?>
51 <?php printf( esc_html__( 'Hey %1$s, Know what? %2$s is now accessible like never before! You can now navigate %2$s modules with screen readers as well as the tab key, making it more accessible and inclusive', 'hustle' ), esc_html( $username ), esc_html( Opt_In_Utils::get_plugin_name() ) ); ?>
52 </p>
53
54 <?php /* translators: 1. open 'b' tag 2. close 'b' tag */ ?>
55 <p class="sui-description"><?php printf( esc_html__( 'Not just that! You can now schedule your Hustle modules (slide-ins and popups) to display a specified number of times in a %1$sday/week/month/year%2$s. Target your audience with precision, without overwhelming them with too many popups', 'hustle' ), '<b>', '</b>' ); ?></p>
56
57
58 </div>
59
60 <div class="sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50">
61
62 <button id="hustle-release-highlight-action-button" class="sui-button" data-modal-close>
63 <?php esc_html_e( 'Got It', 'hustle' ); ?>
64 </button>
65
66 </div>
67
68 </div>
69
70 <button class="sui-modal-skip" data-modal-close><?php esc_html_e( "I'll check this later", 'hustle' ); ?></button>
71
72 </div>
73
74 </div>
75