| @@ -1,113 +1,136 @@ | ||
| 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("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> | |
| 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> | |
| 105 | - </div> | |
| 106 | - | |
| 107 | - </div> | |
| 108 | -</div> | |
| 109 | - | |
| 110 | - | |
| 111 | -<?php else:?> | |
| 112 | - | |
| 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 | + | |
| 113 | 136 | <?php endif;?> |