PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 4.6
Hustle – Email Marketing, Lead Generation, Optins, Popups v4.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 / network.php
wordpress-popup / views Last commit date
meta-appearance.php 11 years ago meta-behavior.php 11 years ago meta-content.php 11 years ago meta-rules.php 11 years ago meta-submitdiv.php 11 years ago network.php 11 years ago settings.php 11 years ago
network.php
59 lines
1 <?php
2 /**
3 * This page is only displayed when
4 * 1. PO_GLOBAL is true
5 * 2. The site is a Multisite network
6 * 3. User is in the Network-Dashboard
7 * 4. Any "PopUp" menuitem is opened (Edit PopUp, Create PopUp, ...)
8 */
9
10 switch_to_blog( BLOG_ID_CURRENT_SITE );
11 $main_url = admin_url( 'edit.php?post_type=' . IncPopupItem::POST_TYPE );
12 $blog_title = get_bloginfo( 'name' );
13 restore_current_blog();
14
15 $dismiss_url = add_query_arg( 'popup_network', 'hide' );
16
17 ?>
18 <style>
19 blockquote p {
20 font-size: 19px;
21 font-style: italic;
22 font-weight: 300;
23 background: #FAFAFA;
24 padding: 10px;
25 }
26 </style>
27 <div id="wpbody-content" tabindex="0">
28 <div class="wrap">
29 <h2><?php _e( 'Global PopUps', PO_LANG ); ?></h2>
30
31 <blockquote>
32 <p><?php printf(
33 __(
34 'Please note:<br />We moved the global PopUp menu items ' .
35 'to the <strong>Main Blog</strong> of your multisite ' .
36 'network!<br />The Main Blog of this network is "%1$s" - ' .
37 '<a href="%2$s">Go to the Main Blog now</a>!', PO_LANG
38 ),
39 $blog_title,
40 esc_url( $main_url )
41 ); ?></p>
42 </blockquote>
43
44 <div>
45 <p><?php _e(
46 'Because the "PopUp" menu items here on the ' .
47 '<strong>Network Admin</strong> are not used anymore ' .
48 'you can <strong>hide them</strong> at any time:', PO_LANG
49 ); ?>
50 </p>
51 <p>
52 <a href="<?php echo esc_url( $dismiss_url ); ?>" class="button-primary">
53 <?php _e( 'Hide the menu items here!', PO_LANG ); ?>
54 </a>
55 </p>
56 </div>
57 </div>
58 <div class="clear"></div>
59 </div>