PluginProbe
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity / trunk
Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity vtrunk
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 1.6.1 All 66 releases
logtivity / views / _admin-sidebar.php

_admin-sidebar.php in Activity Logs, User Activity Tracking, Multisite Activity Log from Logtivity trunk, at views/_admin-sidebar.php

113 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @package Logtivity
5 * @contact logtivity.io, hello@logtivity.io
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 ?>
38 <!-- sidebar -->
39 <div id="postbox-container-1" class="postbox-container">
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; ?>
47
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 -->
111 </div>
112 <!-- #postbox-container-1 .postbox-container -->
113