PluginProbe
WebTotem Security / 2.2.2
WebTotem Security v2.2.2
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
← All changes | includes/dashboard.php +3 -39 2.1.92.2.2 View file →
@@ -217,10 +217,10 @@
217 217 </div>
218 218
219 219 <div class="wtotem_chart-first__right" id="chart_btn">
220 220 <div class="wtotem_chart-first__btn" data-days="365"><?= wtsec_locale("chart.yearly") ?></div>
221 - <div class="wtotem_chart-first__btn" data-days="31"><?= wtsec_locale("chart.monthly") ?></div>
222 - <div class="wtotem_chart-first__btn wtotem_chart-first__btn_active" data-days="7"><?= wtsec_locale("chart.weekly") ?></div>
221 + <div class="wtotem_chart-first__btn wtotem_chart-first__btn_active" data-days="31"><?= wtsec_locale("chart.monthly") ?></div>
222 + <div class="wtotem_chart-first__btn" data-days="7"><?= wtsec_locale("chart.weekly") ?></div>
223 223 <div class="wtotem_chart-first__btn" data-days="1"><?= wtsec_locale("chart.daily") ?></div>
224 224 </div>
225 225 </div>
226 226
@@ -270,36 +270,9 @@
270 270 </div>
271 271 </div>
272 272 </div>
273 273 <div class="wtotem_data__tbody">
274 - <?php foreach ($arguments['waf']['edges'] as $edge){?>
275 - <div class="wtotem_data__tr">
276 - <div class="wtotem_data__td <?= $edge['node']['blocked'] ? 'wtotem_data__td_banned' : 'wtotem_data__td_blocked' ?> wtotem_data_width_1 break-word">
277 - <div class="wtotem_data__ip">
278 - <?= $edge['node']['ip'] ?>
279 - </div>
280 - </div>
281 - <div class="wtotem_data__td wtotem_data_width_2 break-word">
282 -
283 - <div class="wtotem_data__country wt-flex wt-flex-middle">
284 - <img src="https://assets.wtotem.net/images/flags/<?= mb_strtolower($edge['node']['country']) ?>.png" class="wt-margin-right-10 wt_flag">
285 -
286 - <?= $edge['node']['location']['country']['nameEn'] ?>
287 - </div>
288 - </div>
289 - <div class="wtotem_data__td wtotem_data_width_3">
290 - <?= date("Y-m-d H:i:s",$edge['node']['time']/1000) ?>
291 - </div>
292 - <div
293 - class="wtotem_data__td wtotem_data_width_4 break-word">
294 - <?= $edge['node']['request'] ?>
295 - </div>
296 - <div
297 - class="wtotem_data__td wtotem_data_width_6">
298 - <?= $edge['node']['blocked'] ? wtsec_locale('chart.blocked_ip') : wtsec_locale('chart.not_blocked_ip') ?>
299 - </div>
300 - </div>
301 - <?php } ?>
274 + <?php include 'components/_firewall_lazy.php'?>
302 275 </div>
303 276 </div>
304 277 <div class="wtotem_chart__line"></div>
305 278 <div class="wtotem_chart__last">
@@ -499,10 +472,8 @@
499 472 </div>
500 473 </div>
501 474 </div>
502 475
503 -
504 -
505 476 <div class="wtotem_scanning">
506 477 <div class="wtotem_scanning__first section-header-mb">
507 478 <h2 class="title">
508 479 <?= wtsec_locale("scanning") ?>
@@ -646,20 +617,13 @@
646 617 </div>
647 618 </div>
648 619 </div>
649 620
650 -<?php
651 -// $result = WTSEC_LIBRARY_WT::auth(wtsec_app()->get("api_key"));
652 -// $token_ = $result['data']['guest']['apiKeys']['auth']['token']['value'];
653 -?>
654 -
655 -
656 621 <script>
657 622 var availability_percent = "<?=$arguments["wa"]["availability_percent"]?>";
658 623 var waf_chart = <?=$arguments["waf"]["chart"]?>;
659 624 </script>
660 625 <script>
661 - //var wtotem_token = "<?//=$token_?>//";
662 626 var wtotem_token = "<?=$arguments["settings"]["token"]?>";
663 627 var wtotem_site_id = "<?=$arguments["settings"]["site_id"]?>";
664 628 var wtotem_am_process_status = "<?=$arguments["am"]["process_status"]?>";
665 629 var wtotem_locale_installed = "<?= wtsec_locale("installed") ?>";