PluginProbe
WebTotem Security / 2.3.14
WebTotem Security v2.3.14
3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 2.2.4 All 109 releases
wt-security / includes / components / _reports_lazy.php

_reports_lazy.php in WebTotem Security 2.3.14, at includes/components/_reports_lazy.php

37 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined('ABSPATH') or die("Protected By WT!");
3 ?>
4 <?php if($arguments['edges']): ?>
5 <?php foreach ($arguments['edges'] as $edge) : ?>
6 <?php $edge = $edge['node']; ?>
7 <tr class="wtotem_reports-table__row">
8 <td class="wtotem_reports-table__column"><?= convertTimeToReadable($edge['createdAt']) ?></td>
9 <td class="wtotem_reports-table__column">PDF</td>
10 <td class="wtotem_reports-table__column" style="max-width:420px;">
11 <?= $edge['modules'] ?>
12 </td>
13
14 <td class="wtotem_reports-table__column wtotem_reports-table__column--actions">
15 <div class="wtotem_reports-table__buttons-wrapper">
16 <button
17 class="wtotem_reports-table__button wtotem_reports-table__button--download report_link"
18 type="button" data-id="<?= $edge['id'] ?>">
19 <span class="visually-hidden">Download</span>
20 </button>
21 </div>
22 </td>
23 </tr>
24 <?php endforeach; ?>
25 <?php endif; ?>
26
27 <?php if($arguments['pageInfo']['hasNextPage']):?>
28 <tr class="" id="reports_load_more">
29 <td colspan="5">
30 <div class="wtotem_reports-list__load-more-wrapper">
31 <button class="wtotem_reports__btn wtotem_reports__btn--load-more button" type="button">
32 <span class="wtotem_reports__load-more-label"><?= wtsec_locale('load_more') ?></span>
33 </button>
34 </div>
35 </td>
36 </tr>
37 <?php endif; ?>