|
14 | 14 | <h2>Operator Settings</h2> |
15 | 15 | <table class="basic_settings_table"> |
16 | 16 | <tr class="basic_settings"> |
17 | | - <td><div title="<?php p($l->t('Files scanned as "Malicious" are moved to this folder. They can still be downloaded etc. there, but this helps to prevent accidental use.'));?>" class="visible"><label for="quarantine_folder"><?php p($l->t('Quarantine folder'));?></label></div></td> |
18 | | - <td class="input_field"><input id="quarantine_folder" type="text" name="quarantineFolder" value="<?php p($_['quarantineFolder']); ?>"/></td> |
| 17 | + <td> |
| 18 | + <div title="<?php p($l->t('Files scanned as "Malicious" are moved to this folder. ' . |
| 19 | + 'They can still be downloaded etc. there, but this helps to prevent accidental use.'));?>" |
| 20 | + class="visible"> |
| 21 | + <label for="quarantine_folder"><?php p($l->t('Quarantine folder'));?></label> |
| 22 | + </div> |
| 23 | + </td> |
| 24 | + <td class="input_field"> |
| 25 | + <input id="quarantine_folder" type="text" name="quarantineFolder" |
| 26 | + value="<?php p($_['quarantineFolder']); ?>"/> |
| 27 | + </td> |
19 | 28 | </tr> |
20 | 29 | <tr class="basic_settings"> |
21 | | - <td><div title="<?php p($l->t('Comma-separated allow list values. Can be paths, folders, file names or file types. Wildcards are not supported.'));?>" class="visible"><label for="scanOnlyThis"><?php p($l->t('Scan only this'));?></label></div></td> |
22 | | - <td class="input_field"><input id="scanOnlyThis" type="text" name="scanOnlyThis" value="<?php p($_['scanOnlyThis']); ?>"/></td> |
| 30 | + <td> |
| 31 | + <div title="<?php p($l->t('Comma-separated allow list values. Can be paths, folders, ' . |
| 32 | + 'file names or file types. Wildcards are not supported.'));?>" |
| 33 | + class="visible"> |
| 34 | + <label for="scanOnlyThis"><?php p($l->t('Scan only this'));?></label> |
| 35 | + </div> |
| 36 | + </td> |
| 37 | + <td class="input_field"> |
| 38 | + <input id="scanOnlyThis" type="text" name="scanOnlyThis" |
| 39 | + value="<?php p($_['scanOnlyThis']); ?>"/> |
| 40 | + </td> |
23 | 41 | </tr> |
24 | 42 | <tr class="basic_settings"> |
25 | | - <td><div title="<?php p($l->t('Comma-separated block list values. Can be paths, folders, file names or file types. Wildcards are not supported.'));?>" class="visible"><label for="doNotScanThis"><?php p($l->t('Do not scan this'));?></label></div></td> |
26 | | - <td class="input_field"><input id="doNotScanThis" type="text" name="doNotScanThis" value="<?php p($_['doNotScanThis']); ?>"/></td> |
| 43 | + <td> |
| 44 | + <div title="<?php p($l->t('Comma-separated block list values. Can be paths, folders, ' . |
| 45 | + 'file names or file types. Wildcards are not supported.'));?>" |
| 46 | + class="visible"> |
| 47 | + <label for="doNotScanThis"><?php p($l->t('Do not scan this'));?></label> |
| 48 | + </div> |
| 49 | + </td> |
| 50 | + <td class="input_field"> |
| 51 | + <input id="doNotScanThis" type="text" name="doNotScanThis" |
| 52 | + value="<?php p($_['doNotScanThis']); ?>"/> |
| 53 | + </td> |
27 | 54 | </tr> |
28 | 55 | <tr class="notify_mails"> |
29 | | - <td><div title="<?php p($l->t('Mail addresses for notifications when malicious files are found or a user tries to upload them. Must be comma-separated.'));?>" class="visible"><label for="notify_mails"><?php p($l->t('Notify Mails'));?></label></div></td> |
30 | | - <td class="input_field"><input id="notify_mails" type="text" name="notify_mails" value="<?php p($_['notifyMail']); ?>"/></td> |
| 56 | + <td> |
| 57 | + <div title="<?php p($l->t('Mail addresses for notifications when malicious files are found ' . |
| 58 | + 'or a user tries to upload them. Must be comma-separated.'));?>" |
| 59 | + class="visible"> |
| 60 | + <label for="notify_mails"><?php p($l->t('Notify Mails'));?></label> |
| 61 | + </div> |
| 62 | + </td> |
| 63 | + <td class="input_field"> |
| 64 | + <input id="notify_mails" type="text" name="notify_mails" |
| 65 | + value="<?php p($_['notifyMail']); ?>"/> |
| 66 | + </td> |
31 | 67 | </tr> |
32 | 68 | </table> |
33 | 69 | <input class="submit-button" id="operator_submit" type="submit" value="<?php p($l->t('Save'));?>" /> |
34 | 70 | <span id="operator_save_msg"></span> |
35 | 71 | <div class="warning"> |
36 | | - <strong>Caution:</strong> The use of the <em>"Scan only this"</em> and <em>"Do not scan this"</em> settings should be approached with caution. Using these settings allows malicious users to upload and distribute malicious content via the Nextcloud instance. It is recommended that you carefully consider the implications of these settings and use them in a way that does not jeopardize the security of your system and data. |
| 72 | + <strong>Caution:</strong> The use of the <em>"Scan only this"</em> and <em>"Do not scan this"</em> |
| 73 | + settings should be approached with caution. Using these settings allows malicious users to upload |
| 74 | + and distribute malicious content via the Nextcloud instance. It is recommended that you carefully |
| 75 | + consider the implications of these settings and use them in a way that does not jeopardize the |
| 76 | + security of your system and data. |
37 | 77 | </div> |
38 | 78 | </fieldset> |
39 | 79 | </div> |
|
51 | 91 | <input id="prefixMalicious" class="toggle-round" type="checkbox"> |
52 | 92 | <label for="prefixMalicious"></label> |
53 | 93 | </td> |
54 | | - <td><div title="<?php p($l->t('If the scan result is "Malicious", this is added to the front of the file name. Increases the visibility of malicious content.'));?>" class="visible"><label><?php p($l->t('Set prefix for malicious files'));?></label></div></td> |
| 94 | + <td> |
| 95 | + <div title="<?php p($l->t('If the scan result is "Malicious", this is added to the front ' . |
| 96 | + 'of the file name. Increases the visibility of malicious content.'));?>" |
| 97 | + class="visible"> |
| 98 | + <label><?php p($l->t('Set prefix for malicious files'));?></label> |
| 99 | + </div> |
| 100 | + </td> |
55 | 101 | </tr> |
56 | 102 | <tr> |
57 | 103 | <td> |
58 | 104 | <input id="disable_tag_unscanned" class="toggle-round" type="checkbox"> |
59 | 105 | <label for="disable_tag_unscanned"></label> |
60 | 106 | </td> |
61 | | - <td><div title="<?php p($l->t('Files that have not yet been scanned will no longer be tagged "Unscanned", but they will still be scanned if "Automatic file scanning" is switched on.'));?>" class="visible"><label><?php p($l->t('Disable Unscanned tag'));?></label></div></td> |
| 107 | + <td> |
| 108 | + <div title="<?php p($l->t('Files that have not yet been scanned will no longer be tagged "Unscanned", ' . |
| 109 | + 'but they will still be scanned if "Automatic file scanning" is switched on.'));?>" |
| 110 | + class="visible"> |
| 111 | + <label><?php p($l->t('Disable Unscanned tag'));?></label> |
| 112 | + </div> |
| 113 | + </td> |
62 | 114 | </tr> |
63 | 115 | <tr> |
64 | 116 | <td> |
65 | 117 | <input id="send_mail_on_virus_upload" class="toggle-round" type="checkbox"> |
66 | 118 | <label for="send_mail_on_virus_upload"></label> |
67 | 119 | </td> |
68 | | - <td><div title="<?php p($l->t('If a user tries to upload an infected file an email is send to all \'Notify Mails\' receiver'));?>" class="visible"><label><?php p($l->t('Send mails on infected file upload'));?></label></div></td> |
| 120 | + <td> |
| 121 | + <div title="<?php p($l->t('If a user tries to upload an infected file an email is send ' . |
| 122 | + 'to all \'Notify Mails\' receiver'));?>" |
| 123 | + class="visible"> |
| 124 | + <label><?php p($l->t('Send mails on infected file upload'));?></label> |
| 125 | + </div> |
| 126 | + </td> |
69 | 127 | </tr> |
70 | 128 | </table> |
71 | 129 | <h3> |
|
0 commit comments