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/options.php +136 -107 1.12.3.14 View file →
@@ -1,107 +1,136 @@
1 -<?php defined('ABSPATH') or die("Protected By WT!");?>
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>
5 -
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>
73 - </div>
74 - <div class="ww-option__text"><?=wtsec_locale("descriptions.ssl")?>
75 - </div>
76 - </div>
77 - <?php } ?>
78 -
79 - <?php if(isset($arguments['vc'])){ ?>
80 - <div class="ww-option">
81 - <div class="ww-option__head"><label class="ww-option__name" for="checkbox-5"><?=wtsec_locale("remote_antivirus")?></label>
82 - <div class="ww-option__checkbox"><label class="ww-checkbox"><input
83 - data-host_id="<?=$arguments['host_id']?>"
84 - data-config_id="<?=$arguments['vc']['config_id']?>"
85 - class="v-change ww-checkbox__input" type="checkbox" id="checkbox-5" <?=$arguments['vc']['is_active'] ? "checked" : ""?>>
86 - <div class="ww-checkbox__name"></div></label></div>
87 - </div>
88 - <div class="ww-option__text"><?=wtsec_locale("descriptions.antivirus")?>
89 - </div>
90 - </div>
91 - <?php } ?>
92 -
93 -
94 - <?php if(isset($arguments['waf'])){ ?>
95 - <div class="ww-option">
96 - <div class="ww-option__head"><label class="ww-option__name" for="checkbox-5"><?=wtsec_locale("firewall")?></label>
97 - <div class="ww-option__checkbox"><label class="ww-checkbox"><input
98 - data-host_id="<?=$arguments['host_id']?>"
99 - data-config_id="<?=$arguments['waf']['config_id']?>"
100 - class="v-change ww-checkbox__input" type="checkbox" id="checkbox-5" <?=$arguments['waf']['is_active'] ? "checked" : ""?>>
101 - <div class="ww-checkbox__name"></div></label></div>
102 - </div>
103 - <div class="ww-option__text"><?=wtsec_locale("descriptions.firewall")?>
104 - </div>
105 - </div>
106 - <?php } ?>
107 - </div>
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>
34 +
35 + <div class="wtotem_option wt_card">
36 + <div class="wtotem_option__desc">
37 + <h3 class="wtotem_option__title">
38 + <?= wtsec_locale("remote_antivirus") ?>
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>
56 + </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>
79 + </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 + <div class="wtotem_option wt_card">
105 + <div class="wtotem_option__desc">
106 + <h3 class="wtotem_option__title">
107 + <?= wtsec_locale("login_attempt") ?>
108 + </h3>
109 + <p class="wtotem_option__text">
110 + <?= wtsec_locale("descriptions.login_attempt") ?>
111 + </p>
112 + </div>
113 + <div class="wtotem_option__checkbox onoff">
114 + <input
115 + type="checkbox"
116 + class="onoff__input settings_toggle"
117 + id="settings_login_attempt"
118 + <?= ($arguments['settings']['login_attempt']) ? 'checked' : ''; ?>
119 + />
120 + <label for="settings_login_attempt" class="onoff__label">
121 + <div class="onoff__circle"></div>
122 + </label>
123 + </div>
124 + </div>
125 +
126 + </div>
127 +
128 + </div>
129 +
130 + </div>
131 +</div>
132 +
133 +
134 +<?php else:?>
135 +
136 +<?php endif;?>