PluginProbe
WebTotem Security / 2.3.35
WebTotem Security v2.3.35
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 / _map_view.php

_map_view.php in WebTotem Security 2.3.35, at includes/components/_map_view.php

27 lines 831 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if($arguments["waf"]["attacksMap"] && $arguments["waf"]["attacksMap"] != 'null'):?>
2 <div class="wtotem_map-block__map">
3 <svg
4 id="firewallMap"
5 height="305"
6 width="100%"
7 ></svg>
8 </div>
9 <div class="firewall">
10 <canvas id="firewall" width="100%"></canvas>
11 </div>
12
13
14 <script>
15 var waf_attacksMap = <?= json_encode($arguments["waf"]["attacksMap"])?>;
16 var map_json = '<?= plugins_url('wt-security/htdocs/json/world.json') ?>';
17 </script>
18
19 <?php else:?>
20 <!-- No data block -->
21 <section class="wtotem_reports-no-data" style="height:300px" >
22 <h2 class="visually-hidden"><?= __( 'No data', 'wtotem' ) ?></h2>
23 <p class="wtotem_reports-no-data__text">
24 <?= __( 'Has no action ready yet', 'wtotem' ) ?>
25 </p>
26 </section>
27 <?php endif; ?>