PluginProbe
WebTotem Security / 2.3.46
WebTotem Security v2.3.46
3.0.2 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 All 110 releases
wt-security / includes / components / _url_list.php

_url_list.php in WebTotem Security 2.3.46, at includes/components/_url_list.php

36 lines 1.5 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
5 <?php if(!empty($arguments['url_white_list'])): ?>
6 <table class="firewall-configuration__ip-list firewall-ip-table">
7 <thead>
8 <tr>
9 <th class="firewall-ip-table__th"><?= __( 'URL address', 'wtotem' ) ?></th>
10 <th class="firewall-ip-table__th"><?= __( 'Date added', 'wtotem' ) ?></th>
11 <th class="firewall-ip-table__th"><?= __( 'Actions', 'wtotem' ) ?></th>
12 </tr>
13 </thead>
14 <tbody>
15 <?php foreach ($arguments['url_white_list'] as $argument):?>
16 <tr class="firewall-ip-table__tr">
17 <td class="firewall-ip-table__td"><?= $argument['url']?></td>
18 <td class="firewall-ip-table__td"><?= convertTimeToReadable($argument['createdAt'])?></td>
19 <td class="firewall-ip-table__td">
20 <button class="firewall-ip-table__remove wtotem-url-remove"
21 type="button" data-id="<?= $argument['id']?>" data-list="<?= $arguments['list']?>"><?= __( 'Remove', 'wtotem' ) ?></button>
22 </td>
23 </tr>
24 <?php endforeach; ?>
25 </tbody>
26 </table>
27 <?php else:?>
28 <div class="wtotem-firewall-settings__no-data">
29 <div class="wtotem-firewall-settings__no-data-icon">
30 <img src="<?= wtsec_getImagePath("list.svg") ?>">
31 </div>
32 <div>
33 <?= __( 'No URL address here', 'wtotem' ) ?>
34 </div>
35 </div>
36 <?php endif;?>