PluginProbe
WebTotem Security / 2.1
WebTotem Security v2.1
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/options.php +72 -106 2.2.32.1 View file →
@@ -1,113 +1,79 @@
1 1 <?php defined('ABSPATH') or die("Protected By WT!");?>
2 -<?php if(!empty($arguments)):?>
3 -<div class="wtotem_content">
4 - <div class="wtotem_container">
5 - <div class="wtotem_holder">
6 - <div class="wtotem_holder__content">
7 - <div class="section-header-mb">
8 - <h2 class="title">
9 - <?= wtsec_locale("options") ?>
10 - </h2>
11 - </div>
12 - <div class="wtotem_option wt_card">
13 - <div class="wtotem_option__desc">
14 - <h3 class="wtotem_option__title">
15 - <?= wtsec_locale("availability") ?>
16 - </h3>
17 - <p class="wtotem_option__text">
18 - <?= wtsec_locale("descriptions.availability") ?>
19 - </p>
20 - </div>
21 - <div class="wtotem_option__checkbox onoff">
22 - <input
23 - type="checkbox"
24 - class="onoff__input config_toggle"
25 - id="myonoff1"
26 - value="<?= $arguments['wa']['id'] ?>"
27 - <?= ($arguments['wa']['isActive']) ? 'checked' : ''; ?>
28 - />
29 - <label for="myonoff1" class="onoff__label">
30 - <div class="onoff__circle"></div>
31 - </label>
32 - </div>
33 - </div>
2 +<div class="ww-page__content ww-page__content--normal">
3 + <div class="ww-title"><img class="ww-icon" src="<?= wtsec_getImagePath("options.4f7dbf4e.svg") ?>"
4 + alt=""><span><?=wtsec_locale("options")?></span></div>
34 5
35 - <div class="wtotem_option wt_card">
36 - <div class="wtotem_option__desc">
37 - <h3 class="wtotem_option__title">
38 - <?= wtsec_locale("malicious_scripts") ?>
39 - </h3>
40 - <p class="wtotem_option__text">
41 - <?= wtsec_locale("descriptions.malicious") ?>
42 - </p>
43 - </div>
44 - <div class="wtotem_option__checkbox onoff">
45 - <input
46 - type="checkbox"
47 - class="onoff__input config_toggle"
48 - id="myonoff3"
49 - value="<?= $arguments['cms']['id'] ?>"
50 - <?= ($arguments['cms']['isActive']) ? 'checked' : ''; ?>
51 - />
52 - <label for="myonoff3" class="onoff__label">
53 - <div class="onoff__circle"></div>
54 - </label>
55 - </div>
6 + <?php if(isset($arguments['wa'])){ ?>
7 + <div class="ww-option">
8 + <div class="ww-option__head"><label class="ww-option__name" for="checkbox-0"><?=wtsec_locale("availability")?></label>
9 + <div class="ww-option__checkbox"><label class="ww-checkbox"><input
10 + data-host_id="<?=$arguments['host_id']?>"
11 + data-config_id="<?=$arguments['wa']['config_id']?>"
12 + class="v-change ww-checkbox__input" type="checkbox" id="checkbox-0" <?=$arguments['wa']['is_active'] ? "checked" : ""?>>
13 + <div class="ww-checkbox__name"></div>
14 + </label></div>
15 + </div>
16 + <div class="ww-option__text"><?=wtsec_locale("descriptions.availability")?>
17 + </div>
18 + </div>
19 + <?php } ?>
20 + <?php if(isset($arguments['dec'])){ ?>
21 + <div class="ww-option">
22 + <div class="ww-option__head"><label class="ww-option__name" for="checkbox-1"><?=wtsec_locale("domain")?></label>
23 + <div class="ww-option__checkbox"><label class="ww-checkbox"><input
24 + data-host_id="<?=$arguments['host_id']?>"
25 + data-config_id="<?=$arguments['dec']['config_id']?>"
26 + class="v-change ww-checkbox__input"
27 + type="checkbox" id="checkbox-1" <?=$arguments['dec']['is_active'] ? "checked" : ""?>>
28 + <div class="ww-checkbox__name"></div>
29 + </label></div>
30 + </div>
31 + <div class="ww-option__text"><?=wtsec_locale("descriptions.domain")?>
32 + </div>
33 + </div>
34 + <?php } ?>
35 + <?php if(isset($arguments['cms'])){ ?>
36 + <div class="ww-option">
37 + <div class="ww-option__head"><label class="ww-option__name" for="checkbox-2"><?=wtsec_locale("malicious_scripts")?></label>
38 + <div class="ww-option__checkbox"><label class="ww-checkbox"><input
39 + data-host_id="<?=$arguments['host_id']?>"
40 + data-config_id="<?=$arguments['cms']['config_id']?>"
41 + class="v-change ww-checkbox__input"
42 + type="checkbox" id="checkbox-2" <?=$arguments['cms']['is_active'] ? "checked" : ""?>>
43 + <div class="ww-checkbox__name"></div>
44 + </label></div>
45 + </div>
46 + <div class="ww-option__text"><?=wtsec_locale("descriptions.malicious")?>
47 + </div>
48 + </div>
49 + <?php } ?>
50 + <?php if(isset($arguments['dc'])){ ?>
51 + <div class="ww-option">
52 + <div class="ww-option__head"><label class="ww-option__name" for="checkbox-3"><?=wtsec_locale("deface_scanner")?></label>
53 + <div class="ww-option__checkbox"><label class="ww-checkbox"><input
54 + data-host_id="<?=$arguments['host_id']?>"
55 + data-config_id="<?=$arguments['dc']['config_id']?>"
56 + class="v-change ww-checkbox__input"
57 + type="checkbox" id="checkbox-3" <?=$arguments['dc']['is_active'] ? "checked" : ""?>>
58 + <div class="ww-checkbox__name"></div>
59 + </label></div>
60 + </div>
61 + <div class="ww-option__text"><?=wtsec_locale("descriptions.deface")?>
62 + </div>
63 + </div>
64 + <?php } ?>
65 + <?php if(isset($arguments['ssl'])){ ?>
66 + <div class="ww-option">
67 + <div class="ww-option__head"><label class="ww-option__name" for="checkbox-5"><?=wtsec_locale("ssl")?></label>
68 + <div class="ww-option__checkbox"><label class="ww-checkbox"><input
69 + data-host_id="<?=$arguments['host_id']?>"
70 + data-config_id="<?=$arguments['ssl']['config_id']?>"
71 + class="v-change ww-checkbox__input" type="checkbox" id="checkbox-5" <?=$arguments['ssl']['is_active'] ? "checked" : ""?>>
72 + <div class="ww-checkbox__name"></div></label></div>
56 73 </div>
57 -
58 - <div class="wtotem_option wt_card">
59 - <div class="wtotem_option__desc">
60 - <h3 class="wtotem_option__title">
61 - <?= wtsec_locale("deface_scanner") ?>
62 - </h3>
63 - <p class="wtotem_option__text">
64 - <?= wtsec_locale("descriptions.deface") ?>
65 - </p>
66 - </div>
67 - <div class="wtotem_option__checkbox onoff">
68 - <input
69 - type="checkbox"
70 - class="onoff__input config_toggle"
71 - id="myonoff4"
72 - value="<?= $arguments['dc']['id'] ?>"
73 - <?= ($arguments['dc']['isActive']) ? 'checked' : ''; ?>
74 - />
75 - <label for="myonoff4" class="onoff__label">
76 - <div class="onoff__circle"></div>
77 - </label>
78 - </div>
74 + <div class="ww-option__text"><?=wtsec_locale("descriptions.ssl")?>
79 75 </div>
80 -
81 - <div class="wtotem_option wt_card">
82 - <div class="wtotem_option__desc">
83 - <h3 class="wtotem_option__title">
84 - <?= wtsec_locale("port_scanner") ?>
85 - </h3>
86 - <p class="wtotem_option__text">
87 - <?= wtsec_locale("descriptions.port") ?>
88 - </p>
89 - </div>
90 - <div class="wtotem_option__checkbox onoff">
91 - <input
92 - type="checkbox"
93 - class="onoff__input config_toggle"
94 - id="myonoff5"
95 - value="<?= $arguments['ps']['id'] ?>"
96 - <?= ($arguments['ps']['isActive']) ? 'checked' : ''; ?>
97 - />
98 - <label for="myonoff5" class="onoff__label">
99 - <div class="onoff__circle"></div>
100 - </label>
101 - </div>
102 - </div>
103 -
104 76 </div>
105 - </div>
77 + <?php } ?>
106 78
107 79 </div>
108 -</div>
109 -
110 -
111 -<?php else:?>
112 -
113 -<?php endif;?>