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:
authorcoffeemakr <git@unstable.ch>2022-03-02 17:19:08 +0300
committercoffeemakr <git@unstable.ch>2022-03-02 17:19:08 +0300
commitd7829da6887d7e72f66f029581cc944331b9e07a (patch)
treeefd12a813e634fb90ea87da865f2f446053a9747 /templates
parent9806407008ede8f33f904cb4194eff9b8e39f433 (diff)
add option to disable macros
Diffstat (limited to 'templates')
-rw-r--r--templates/settings.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/settings.php b/templates/settings.php
index 73372d6..e1c244a 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -199,6 +199,12 @@
<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>