PluginProbe
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity / 3.3.9
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity v3.3.9
3.3.9 3.3.8 trunk 1.0 1.1.0 1.10.0 1.11.0 1.11.1 1.12.0 1.13.0 1.14.0 1.15.0 1.16.0 1.17.0 1.17.1 1.18.0 1.19.0 1.2.0 1.20.0 1.20.1 1.3.0 1.3.1 1.4.0 1.5.0 1.6.0 All 67 releases
← All changes | views/_admin-sidebar.php +108 -46 1.11.0 → 3.3.9 View file →
@@ -1,50 +1,112 @@
1 +<?php
2 +
3 +/**
4 + * @package Logtivity
5 + * @contact logtivity.io, [email protected]
6 + * @copyright 2024-2026 Logtivity. All rights reserved
7 + * @license https://www.gnu.org/licenses/gpl.html GNU/GPL
8 + *
9 + * This file is part of Logtivity.
10 + *
11 + * Logtivity is free software: you can redistribute it and/or modify
12 + * it under the terms of the GNU General Public License as published by
13 + * the Free Software Foundation, either version 2 of the License, or
14 + * (at your option) any later version.
15 + *
16 + * Logtivity is distributed in the hope that it will be useful,
17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 + * GNU General Public License for more details.
20 + *
21 + * You should have received a copy of the GNU General Public License
22 + * along with Logtivity. If not, see <https://www.gnu.org/licenses/>.
23 + */
24 +
25 +/**
26 + * @var string $fileName
27 + * @var array $vars
28 + * @var array $options
29 + */
30 +
31 +$whiteLabel = ($options['logtivity_enable_white_label_mode'] ?? '0') == '1';
32 +if ($whiteLabel) :
33 + return;
34 +endif;
35 +
36 +$isWelcome = !($options['logtivity_site_api_key'] ?? false);
37 +?>
1 38 <!-- sidebar -->
2 39 <div id="postbox-container-1" class="postbox-container">
3 - <div class="postbox">
40 + <div class="postbox">
41 + <?php
42 + if ($isWelcome) : ?>
43 + <h2><span><?php esc_attr_e('Welcome to Logtivity', 'logtivity'); ?></span></h2>
44 + <?php else : ?>
45 + <h2><span><?php esc_attr_e('Logtivity', 'logtivity'); ?></span></h2>
46 + <?php endif; ?>
4 47
5 - <?php if ($options['logtivity_api_key_check'] !== 'success'): ?>
6 - <h2><span><?php esc_attr_e('Welcome to Logtivity', 'logtivity'); ?></span></h2>
7 - <?php else: ?>
8 - <h2><span><?php esc_attr_e('Logtivity', 'logtivity'); ?></span></h2>
9 - <?php endif; ?>
10 -
11 - <div class="inside">
12 - <?php if ($options['logtivity_api_key_check'] !== 'success'): ?>
13 - <p>
14 - Logtivity is a hosted SaaS service that provides dedicated activity monitoring for your WordPress site. This offers a strong alternative to using a plugin, because you don’t need to store huge amounts of data on your own server.</p>
15 - <p>
16 - Simply connect this plugin to your Logtivity account and see the logs start coming in.
17 - </p>
18 - <p>
19 - You can send alert notifications for any action on your site. For example, you can get a Slack notification for all Administrator logins.
20 - </p>
21 - <p>
22 - You can also create beautiful charts, allowing you to visualise the actions made on your site with ease.
23 - </p>
24 - <p>
25 - <a class="button-primary" target="_blank" href="https://app.logtivity.io/register"><?php esc_attr_e(
26 - 'Set up your Logtivity account',
27 - 'logtivity'
28 - ); ?></a>
29 - </p>
30 - <?php endif ?>
31 - <p>
32 - <a target="_blank" href="https://app.logtivity.io/"><?php esc_attr_e(
33 - 'Logtivity Dashboard',
34 - 'logtivity'
35 - ); ?></a>
36 - </p>
37 - <p>
38 - <a target="_blank" href="https://logtivity.io/docs"><?php esc_attr_e(
39 - 'View our documentation here',
40 - 'logtivity'
41 - ); ?></a>
42 - </p>
43 -
44 - </div>
45 - <!-- .inside -->
46 -
47 - </div>
48 - <!-- .postbox -->
48 + <div class="inside">
49 + <?php
50 + if ($isWelcome) : ?>
51 + <p>
52 + <?php
53 + esc_html_e(
54 + "Logtivity is a hosted service that provides activity logs for your WordPress site.
55 + This is better than using an activity log plugin because you don’t need to store huge amounts of data on your own server.",
56 + 'logtivity'
57 + );
58 + ?>
59 + </p>
60 + <p>
61 + <?php
62 + esc_html_e(
63 + "Logtivity's dashboard gives you one place to monitor changes and activity across all your WordPress sites.",
64 + 'logtivity'
65 + );
66 + ?>
67 + </p>
68 + <p>
69 + <?php
70 + esc_html_e(
71 + 'You can send alert notifications for any action on your site.
72 + For example, you can get a Slack notification for all Administrator logins.',
73 + 'logtivity'
74 + );
75 + ?>
76 + </p>
77 + <p>
78 + <?php
79 + esc_html_e(
80 + 'You can also create beautiful charts, allowing you to visualise the actions made on your site with ease.',
81 + 'logtivity'
82 + );
83 + ?>
84 + </p>
85 + <p>
86 + <a class="button-primary logtivity-button logtivity-button-primary"
87 + target="_blank"
88 + href="<?php echo logtivity_get_app_url() . '/register'; ?>">
89 + <?php esc_attr_e('Start your free 10 day trial', 'logtivity'); ?>
90 + </a>
91 + </p>
92 + <?php endif ?>
93 + <ul>
94 + <li>
95 + <a target="_blank"
96 + href="<?php echo logtivity_get_app_url(); ?>">
97 + <?php esc_html_e('Logtivity Dashboard', 'logtivity'); ?>
98 + </a>
99 + </li>
100 + <li>
101 + <a target="_blank"
102 + href="https://logtivity.io/docs">
103 + <?php esc_html_e('View Logtivity documentation', 'logtivity'); ?>
104 + </a>
105 + </li>
106 + </ul>
107 + </div>
108 + <!-- .inside -->
109 + </div>
110 + <!-- .postbox -->
49 111 </div>
50 -<!-- #postbox-container-1 .postbox-container -->
112 +<!-- #postbox-container-1 .postbox-container -->