PluginProbe ʕ •ᴥ•ʔ
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization / 1.18.3
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization v1.18.3
1.19.8 1.19.7 1.19.6 1.19.5 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.12.0 1.13.0 1.14.0 1.15.0 1.15.1 1.15.2 1.15.3 1.16.0 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.16.6 1.16.7 1.16.8 1.17.0 1.17.6 1.17.7 1.17.8 1.17.9 1.18.0 1.18.1 1.18.2 1.18.3 1.18.4 1.18.5 1.18.6 1.18.7 1.18.8 1.18.9 1.19.0 1.19.1 1.19.2 1.19.3 1.19.4 1.3.19 1.3.20 1.4.0 1.4.1 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.16 1.5.17 1.5.18 1.5.19 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.8.1 1.8.3 1.9.0 1.9.1 1.9.2
nitropack / view / admin.php
nitropack / view Last commit date
images 1 year ago javascript 11 months ago modals 11 months ago stylesheet 11 months ago templates 1 year ago admin.php 1 year ago connect-oneclick.php 1 year ago connect.php 1 year ago dashboard-oneclick.php 11 months ago dashboard.php 11 months ago oneclick.php 1 year ago system-report.php 1 year ago
admin.php
82 lines
1 <script>
2 let nitroNonce = '<?php echo wp_create_nonce( NITROPACK_NONCE ); ?>';
3 </script>
4 <div id="nitropack-container">
5 <nav class="nitro-navigation">
6 <div class="nitro-navigation-inner">
7 <img src="<?php echo plugin_dir_url( __FILE__ ) . 'images/nitropack_logo.svg'; ?>" height="25"
8 alt="NitroPack" />
9 </div>
10 </nav>
11
12 <main id="main">
13 <div class="container">
14 <?php if ( ! isset( $_GET['subpage'] ) ) : ?>
15 <?php require_once NITROPACK_PLUGIN_DIR . "view/dashboard.php";
16 ?>
17 <?php endif; ?>
18 <?php if ( isset( $_GET['subpage'] ) && $_GET['subpage'] == 'system-report' ) : ?>
19 <?php require_once NITROPACK_PLUGIN_DIR . "view/system-report.php";
20 ?>
21 <?php endif; ?>
22 </div>
23 </main>
24 <?php require_once NITROPACK_PLUGIN_DIR . 'view/templates/template-toast.php'; ?>
25 </div>
26
27 <?php if ( NITROPACK_SUPPORT_BUBBLE_VISIBLE ) { ?>
28 <div class="support-widget">
29 <!-- support widget -->
30 <script>
31 window.intercomSettings = {
32 api_base: "https://api-iam.intercom.io",
33 app_id: "d5v9p9vg"
34 };
35
36 (function () {
37 var w = window;
38 var ic = w.Intercom;
39 if (typeof ic === "function") {
40 ic('reattach_activator');
41 ic('update', w.intercomSettings);
42 } else {
43 var d = document;
44 var i = function () {
45 i.c(arguments);
46 };
47 i.q = [];
48 i.c = function (args) {
49 i.q.push(args);
50 };
51 w.Intercom = i;
52 var l = function () {
53 var s = d.createElement('script');
54 s.type = 'text/javascript';
55 s.async = true;
56 s.src = 'https://widget.intercom.io/widget/d5v9p9vg';
57 var x = d.getElementsByTagName('script')[0];
58 x.parentNode.insertBefore(s, x);
59 };
60 if (document.readyState === 'complete') {
61 l();
62 } else if (w.attachEvent) {
63 w.attachEvent('onload', l);
64 } else {
65 w.addEventListener('load', l, false);
66 }
67 }
68 })();
69 </script>
70 <!-- end support widget -->
71 </div>
72 <?php } ?>
73 <script>
74 (function ($) {
75 window.addEventListener("cache.purge.success", function () {
76 setTimeout(function () {
77 document.cookie = "nitropack_apwarning=1; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=<?php echo nitropack_cookiepath(); ?>";
78 window.location.reload()
79 }, 1500)
80 });
81 })(jQuery);
82 </script>