diff options
author | coffeemakr <git@unstable.ch> | 2022-03-02 17:19:08 +0300 |
---|---|---|
committer | coffeemakr <git@unstable.ch> | 2022-03-02 17:19:08 +0300 |
commit | d7829da6887d7e72f66f029581cc944331b9e07a (patch) | |
tree | efd12a813e634fb90ea87da865f2f446053a9747 /templates | |
parent | 9806407008ede8f33f904cb4194eff9b8e39f433 (diff) |
add option to disable macros
Diffstat (limited to 'templates')
-rw-r--r-- | templates/settings.php | 6 |
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> |