PluginProbe
Tiered Pricing Table for WooCommerce / 2.1.2
Tiered Pricing Table for WooCommerce v2.1.2
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 +10 -23 8.0.2 → 2.1.2 View file →
@@ -1,10 +1,5 @@
1 1 <?php
2 -
3 - if ( ! defined( 'ABSPATH' ) ) {
4 - exit;
5 - }
6 -
7 2 /**
8 3 * @var array $VARS
9 4 * @var Freemius $fs
10 5 */
@@ -13,16 +8,12 @@
13 8 $slug = $fs->get_slug();
14 9
15 10 $sites = $VARS['sites'];
16 11 $require_license_key = $VARS['require_license_key'];
17 -
18 - $show_delegation_option = $fs->apply_filters( 'show_delegation_option', true );
19 - $enable_per_site_activation = $fs->apply_filters( 'enable_per_site_activation', true );
20 12 ?>
21 13 <?php $separator = '<td>|</td>' ?>
22 -<div class="fs-multisite-options-container fs-apply-on-all-sites"<?php if ( ! $enable_per_site_activation )
23 - echo ' style="display: none;"' ?>>
24 - <table class="fs-all-sites-options">
14 +<div id="multisite_options_container" class="apply-on-all-sites">
15 + <table id="all_sites_options">
25 16 <tbody>
26 17 <tr>
27 18 <td width="600">
28 19 <label>
@@ -37,17 +28,15 @@
37 28 fs_text_inline( 'Apply on all pending sites.', 'apply-on-pending-sites-in-the-network', $slug );
38 29
39 30 }
40 31 ?>
41 - <input class="fs-apply-on-all-sites-checkbox" type="checkbox" value="true" checked><span><?php echo esc_html( $apply_checkbox_label ) ?></span>
32 + <input id="apply_on_all_sites" type="checkbox" value="true" checked><span><?php echo esc_html( $apply_checkbox_label ) ?></span>
42 33 </label>
43 34 </td>
44 35 <?php if ( ! $require_license_key ) : ?>
45 36 <td><a class="action action-allow" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
46 37 <?php echo $separator ?>
47 - <?php if ( $show_delegation_option ) : ?>
48 38 <td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
49 - <?php endif ?>
50 39 <?php if ( $fs->is_enable_anonymous() ) : ?>
51 40 <?php echo $separator ?>
52 41 <td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>
53 42 <?php endif ?>
@@ -54,34 +43,32 @@
54 43 <?php endif ?>
55 44 </tr>
56 45 </tbody>
57 46 </table>
58 - <div class="fs-sites-list-container">
47 + <div id="sites_list_container">
59 48 <table cellspacing="0">
60 49 <tbody>
61 - <?php $site_props = array('uid', 'url', 'title', 'language') ?>
50 + <?php $site_props = array('uid', 'url', 'title', 'charset', 'language') ?>
62 51 <?php foreach ( $sites as $site ) : ?>
63 52 <tr<?php if ( ! empty( $site['license_id'] ) ) {
64 - echo ' data-license-id="' . esc_attr( $site['license_id'] ) . '"';
53 + echo ' data-license-id="' . $site['license_id'] . '"';
65 54 } ?>>
66 55 <?php if ( $require_license_key ) : ?>
67 56 <td><input type="checkbox" value="true" /></td>
68 57 <?php endif ?>
69 - <td class="blog-id"><span><?php echo esc_html( $site['blog_id'] ) ?></span>.</td>
58 + <td class="blog-id"><span><?php echo $site['blog_id'] ?></span>.</td>
70 59 <td width="600"><span><?php
71 60 $url = str_replace( 'http://', '', str_replace( 'https://', '', $site['url'] ) );
72 - echo esc_html( $url );
61 + echo $url;
73 62 ?></span>
74 63 <?php foreach ($site_props as $prop) : ?>
75 - <input class="<?php echo esc_attr( $prop ) ?>" type="hidden" value="<?php echo esc_attr($site[$prop]) ?>" />
64 + <input class="<?php echo $prop ?>" type="hidden" value="<?php echo esc_attr($site[$prop]) ?>" />
76 65 <?php endforeach ?>
77 66 </td>
78 67 <?php if ( ! $require_license_key ) : ?>
79 68 <td><a class="action action-allow selected" data-action-type="allow" href="#"><?php fs_esc_html_echo_inline( 'allow', 'allow', $slug ) ?></a></td>
80 69 <?php echo $separator ?>
81 - <?php if ( $show_delegation_option ) : ?>
82 70 <td><a class="action action-delegate" data-action-type="delegate" href="#"><?php fs_esc_html_echo_inline( 'delegate', 'delegate', $slug ) ?></a></td>
83 - <?php endif ?>
84 71 <?php if ( $fs->is_enable_anonymous() ) : ?>
85 72 <?php echo $separator ?>
86 73 <td><a class="action action-skip" data-action-type="skip" href="#"><?php echo strtolower( fs_esc_html_inline( 'skip', 'skip', $slug ) ) ?></a></td>
87 74 <?php endif ?>
@@ -90,5 +77,5 @@
90 77 <?php endforeach ?>
91 78 </tbody>
92 79 </table>
93 80 </div>
94 -</div>
81 +</div>