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
← All changes | includes/components/_map_view.php +13 -0 2.2.12.3.14 View file →
@@ -1,4 +1,5 @@
1 +<?php if($arguments["waf"]["attacksMap"] && $arguments["waf"]["attacksMap"] != 'null'):?>
1 2 <div class="wtotem_map-block__map">
2 3 <svg
3 4 id="firewallMap"
4 5 height="305"
@@ -13,4 +14,16 @@
13 14 <script>
14 15 var waf_attacksMap = <?= json_encode($arguments["waf"]["attacksMap"])?>;
15 16 var map_json = '<?= plugins_url('wt-security/htdocs/json/world.json') ?>';
16 17 </script>
18 +
19 +<?php else:?>
20 +
21 +<!-- No data block -->
22 +<section class="wtotem_reports-no-data" style="height:300px" >
23 + <h2 class="visually-hidden"><?= wtsec_locale("no_data") ?></h2>
24 + <p class="wtotem_reports-no-data__text">
25 + <?= wtsec_locale("has_no_action_ready_yet") ?>
26 + </p>
27 +</section>
28 +
29 +<?php endif; ?>