PluginProbe
Tiered Pricing Table for WooCommerce / 2.2.3
Tiered Pricing Table for WooCommerce v2.2.3
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | freemius/templates/partials/network-activation.php +12 -4 2.2.1 → 2.2.3 View file →
@@ -8,12 +8,16 @@
8 8 $slug = $fs->get_slug();
9 9
10 10 $sites = $VARS['sites'];
11 11 $require_license_key = $VARS['require_license_key'];
12 +
13 + $show_delegation_option = $fs->apply_filters( 'show_delegation_option', true );
14 + $enable_per_site_activation = $fs->apply_filters( 'enable_per_site_activation', true );
12 15 ?>
13 16 <?php $separator = '<td>|</td>' ?>
14 -<div id="multisite_options_container" class="apply-on-all-sites">
15 - <table id="all_sites_options">
17 +<div class="fs-multisite-options-container fs-apply-on-all-sites"<?php if ( ! $enable_per_site_activation )
18 + echo ' style="display: none;"' ?>>
19 + <table class="fs-all-sites-options">
16 20 <tbody>
17 21 <tr>
18 22 <td width="600">
19 23 <label>
@@ -28,15 +32,17 @@
28 32 fs_text_inline( 'Apply on all pending sites.', 'apply-on-pending-sites-in-the-network', $slug );
29 33
30 34 }
31 35 ?>
32 - <input id="apply_on_all_sites" type="checkbox" value="true" checked><span><?php echo esc_html( $apply_checkbox_label ) ?></span>
36 + <input class="fs-apply-on-all-sites-checkbox" type="checkbox" value="true" checked><span><?php echo esc_html( $apply_checkbox_label ) ?></span>
33 37 </label>
34 38 </td>
35 39 <?php if ( ! $require_license_key ) : ?>
36 40 <td><a class="action action-allow" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
37 41 <?php echo $separator ?>
42 + <?php if ( $show_delegation_option ) : ?>
38 43 <td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
44 + <?php endif ?>
39 45 <?php if ( $fs->is_enable_anonymous() ) : ?>
40 46 <?php echo $separator ?>
41 47 <td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>
42 48 <?php endif ?>
@@ -43,9 +49,9 @@
43 49 <?php endif ?>
44 50 </tr>
45 51 </tbody>
46 52 </table>
47 - <div id="sites_list_container">
53 + <div class="fs-sites-list-container">
48 54 <table cellspacing="0">
49 55 <tbody>
50 56 <?php $site_props = array('uid', 'url', 'title', 'charset', 'language') ?>
51 57 <?php foreach ( $sites as $site ) : ?>
@@ -66,9 +72,11 @@
66 72 </td>
67 73 <?php if ( ! $require_license_key ) : ?>
68 74 <td><a class="action action-allow selected" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
69 75 <?php echo $separator ?>
76 + <?php if ( $show_delegation_option ) : ?>
70 77 <td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
78 + <?php endif ?>
71 79 <?php if ( $fs->is_enable_anonymous() ) : ?>
72 80 <?php echo $separator ?>
73 81 <td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>
74 82 <?php endif ?>