Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Linnik <sergey.linnik@onlyoffice.com>2022-06-01 15:11:17 +0300
committerSergey Linnik <sergey.linnik@onlyoffice.com>2022-06-01 15:11:17 +0300
commitabfda998fe3d6eb29b9b6527c34ee2c7b105212a (patch)
treef70110c254e0431230280c48977190b503a0d322 /templates
parent4030d5884c8e76caef8bc4a02b080d6203c7f0b7 (diff)
Move macros setting to security section
Diffstat (limited to 'templates')
-rw-r--r--templates/settings.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/settings.php b/templates/settings.php
index 86b0c7f..24ac280 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -199,12 +199,6 @@
<label for="onlyofficeToolbarNoTabs"><?php p($l->t("Display monochrome toolbar header")) ?></label>
</p>
- <p>
- <input type="checkbox" class="checkbox" id="onlyofficeMacros"
- <?php if ($_["macros"]) { ?>checked="checked"<?php } ?> />
- <label for="onlyofficeMacros"><?php p($l->t("Run document macros")) ?></label>
- </p>
-
<p class="onlyoffice-header">
<?php p($l->t("Review mode for viewing")) ?>
</p>
@@ -257,7 +251,13 @@
</div>
<div class="section section-onlyoffice section-onlyoffice-watermark <?php if (empty($_["documentserver"]) && !$_["demo"]["enabled"] || !$_["successful"]) { ?>onlyoffice-hide<?php } ?>">
- <h2><?php p($l->t("Secure view settings")) ?></h2>
+ <h2><?php p($l->t("Security")) ?></h2>
+
+ <p>
+ <input type="checkbox" class="checkbox" id="onlyofficeMacros"
+ <?php if ($_["macros"]) { ?>checked="checked"<?php } ?> />
+ <label for="onlyofficeMacros"><?php p($l->t("Run document macros")) ?></label>
+ </p>
<p class="settings-hint"><?php p($l->t("Secure view enables you to secure documents by embedding a watermark")) ?></p>