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/log-index.php +46 -6 1.17.1 → 3.3.9 View file →
@@ -1,6 +1,30 @@
1 -<?php echo logtivity_view('_admin-header', compact('options')); ?>
1 +<?php
2 +/**
3 + * @package Logtivity
4 + * @contact logtivity.io, [email protected]
5 + * @copyright 2024-2026 Logtivity. All rights reserved
6 + * @license https://www.gnu.org/licenses/gpl.html GNU/GPL
7 + *
8 + * This file is part of Logtivity.
9 + *
10 + * Logtivity is free software: you can redistribute it and/or modify
11 + * it under the terms of the GNU General Public License as published by
12 + * the Free Software Foundation, either version 2 of the License, or
13 + * (at your option) any later version.
14 + *
15 + * Logtivity is distributed in the hope that it will be useful,
16 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 + * GNU General Public License for more details.
19 + *
20 + * You should have received a copy of the GNU General Public License
21 + * along with Logtivity. If not, see <https://www.gnu.org/licenses/>.
22 + */
2 23
24 +echo logtivity_view('_admin-header', compact('options'));
25 +?>
26 +
3 27 <div class="postbox">
4 28 <div class="logtivity-settings">
5 29
6 30 <div class="inside">
@@ -12,20 +36,36 @@
12 36 <input id="logtivity_page" type="hidden" name="page">
13 37
14 38 <div class="logtivity-row">
15 39 <div class="logtivity-col-md-4">
16 - <input type="search" name="search_action" class="large-text" placeholder="Search action">
40 + <label for="logtivity-search-action">
41 + <?php esc_html_e( 'Search', 'logtivity' ) ?>
42 + </label>
43 + <input id="logtivity-search-action" type="search" name="search_action" class="large-text" placeholder="<?php esc_attr_e( 'User Created or %keyword%', 'logtivity' ) ?>">
17 44 </div>
18 45 <div class="logtivity-col-md-4">
19 - <input type="search" name="search_context" class="large-text" placeholder="Search context">
46 + <label for="logtivity-search-context">
47 + <?php esc_html_e( 'Context', 'logtivity' ) ?>
48 + </label>
49 + <input id="logtivity-search-context" type="search" name="search_context" class="large-text" placeholder="<?php esc_attr_e( 'admin or %keyword%', 'logtivity' ) ?>">
20 50 </div>
21 51 <div class="logtivity-col-md-4">
22 - <input type="search" name="action_user" class="large-text" placeholder="User ID / Username / IP Address">
52 + <label for="logtivity-search-user">
53 + <?php esc_html_e( 'User', 'logtivity' ) ?>
54 + </label>
55 + <input id="logtivity-search-user" type="search" name="action_user" class="large-text" placeholder="<?php esc_attr_e( 'User ID / Username / IP Address', 'logtivity' ) ?>">
23 56 </div>
24 57 </div>
25 58 </form>
26 59
27 - <div style="padding-top: 15px" id="logtivity-log-index">
60 + <div
61 + style="padding-top: 15px"
62 + id="logtivity-log-index"
63 + role="region"
64 + aria-live="polite"
65 + aria-busy="true"
66 + aria-label="<?php esc_attr_e( 'Log results', 'logtivity' ) ?>"
67 + >
28 68 <!-- Populated with AJAX -->
29 69 </div>
30 70
31 71 </div>
@@ -30,5 +70,5 @@
30 70
31 71 </div>
32 72 </div>
33 73
34 -<?php echo logtivity_view('_admin-footer', compact('options')); ?>
74 +<?php echo logtivity_view('_admin-footer', compact('options')); ?>