diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/downloadPicker.html | 6 | ||||
-rw-r--r-- | templates/editor.php | 1 | ||||
-rw-r--r-- | templates/loader.html (renamed from templates/loader.php) | 29 | ||||
-rw-r--r-- | templates/settings.php | 16 | ||||
-rw-r--r-- | templates/templateItem.html | 2 |
5 files changed, 24 insertions, 30 deletions
diff --git a/templates/downloadPicker.html b/templates/downloadPicker.html new file mode 100644 index 0000000..1cb0ce2 --- /dev/null +++ b/templates/downloadPicker.html @@ -0,0 +1,6 @@ +<div id="{dialog_name}" class="onlyoffice-download-container" title="{dialog_title}"> + <p></p> + <select id="onlyoffice-download-select"> + <option data-value=""></option> + </select> +</div> diff --git a/templates/editor.php b/templates/editor.php index e904b97..acf4e51 100644 --- a/templates/editor.php +++ b/templates/editor.php @@ -34,6 +34,7 @@ data-directtoken="<?php p($_["directToken"]) ?>" data-version="<?php p($_["version"]) ?>" data-template="<?php p($_["isTemplate"]) ?>" + data-anchor="<?php p($_["anchor"]) ?>" data-inframe="<?php p($_["inframe"]) ?>"></div> <?php if (!empty($_["documentServerUrl"])) { ?> diff --git a/templates/loader.php b/templates/loader.html index 217c84f..0327d21 100644 --- a/templates/loader.php +++ b/templates/loader.html @@ -1,23 +1,6 @@ -<?php -/** - * - * (c) Copyright Ascensio System SIA 2021 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ -?> - +<!DOCTYPE html> +<html> + <head> <style type="text/css"> #body-public #content { min-height: 100%; @@ -121,4 +104,8 @@ 100%{top:100px;background:#55bce6;} } </style> -<div class="loadmask"><div class="loader-page"><div class="loader-page-romb"><div class="romb" id="blue"></div><div class="romb" id="green"></div><div class="romb" id="red"></div></div></div></div> + </head> + <body> + <div class="loadmask"><div class="loader-page"><div class="loader-page-romb"><div class="romb" id="blue"></div><div class="romb" id="green"></div><div class="romb" id="red"></div></div></div></div> + </body> +</html>
\ No newline at end of file diff --git a/templates/settings.php b/templates/settings.php index 9a5ec14..73372d6 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -37,9 +37,9 @@ <h3><?php p($l->t("Server settings")) ?></h3> <div id="onlyofficeAddrSettings"> - <p class="settings-hint"><?php p($l->t("ONLYOFFICE Document Service Location specifies the address of the server with the document services installed. Please change the '<documentserver>' for the server address in the below line.")) ?></p> + <p class="settings-hint"><?php p($l->t("ONLYOFFICE Docs Location specifies the address of the server with the document services installed. Please change the '<documentserver>' for the server address in the below line.")) ?></p> - <p><?php p($l->t("Document Editing Service address")) ?></p> + <p><?php p($l->t("ONLYOFFICE Docs address")) ?></p> <p><input id="onlyofficeUrl" value="<?php p($_["documentserver"]) ?>" placeholder="https://<documentserver>/" type="text"></p> <p> @@ -62,10 +62,10 @@ </a> </p> <div id="onlyofficeSecretPanel" class="onlyoffice-hide"> - <p class="onlyoffice-header"><?php p($l->t("Document Editing Service address for internal requests from the server")) ?></p> + <p class="onlyoffice-header"><?php p($l->t("ONLYOFFICE Docs address for internal requests from the server")) ?></p> <p><input id="onlyofficeInternalUrl" value="<?php p($_["documentserverInternal"]) ?>" placeholder="https://<documentserver>/" type="text"></p> - <p class="onlyoffice-header"><?php p($l->t("Server address for internal requests from the Document Editing Service")) ?></p> + <p class="onlyoffice-header"><?php p($l->t("Server address for internal requests from ONLYOFFICE Docs")) ?></p> <p><input id="onlyofficeStorageUrl" value="<?php p($_["storageUrl"]) ?>" placeholder="<?php p($_["currentServer"]) ?>" type="text"></p> </div> </div> @@ -78,13 +78,13 @@ <input type="checkbox" class="checkbox" id="onlyofficeDemo" <?php if ($_["demo"]["enabled"]) { ?>checked="checked"<?php } ?> <?php if (!$_["demo"]["available"]) { ?>disabled="disabled"<?php } ?> /> - <label for="onlyofficeDemo"><?php p($l->t("Connect to demo ONLYOFFICE Document Server")) ?></label> + <label for="onlyofficeDemo"><?php p($l->t("Connect to demo ONLYOFFICE Docs server")) ?></label> <br /> <?php if ($_["demo"]["available"]) { ?> <em><?php p($l->t("This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period.")) ?></em> <?php } else { ?> - <em><?php p($l->t("The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Document Server.")) ?></em> + <em><?php p($l->t("The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Docs server.")) ?></em> <?php } ?> </div> </div> @@ -230,7 +230,7 @@ <p><button id="onlyofficeSave" class="button"><?php p($l->t("Save")) ?></button></p> </div> -<div class="section section-onlyoffice section-onlyoffice-templates"> +<div class="section section-onlyoffice section-onlyoffice-templates <?php if (empty($_["documentserver"]) && !$_["demo"]["enabled"] || !$_["successful"]) { ?>onlyoffice-hide<?php } ?>"> <h3> <?php p($l->t("Common templates")) ?> @@ -242,7 +242,7 @@ <li data-id=<?php p($template["id"]) ?> class="onlyoffice-template-item" > <img src="/core/img/filetypes/x-office-<?php p($template["type"]) ?>.svg" /> <p><?php p($template["name"]) ?></p> - <span class="onlyoffice-template-preview"></span> + <span class="onlyoffice-template-download"></span> <span class="onlyoffice-template-delete icon-delete"></span> </li> <?php } ?> diff --git a/templates/templateItem.html b/templates/templateItem.html index edeb9a8..1e39ea9 100644 --- a/templates/templateItem.html +++ b/templates/templateItem.html @@ -1,6 +1,6 @@ <li data-id="" class="onlyoffice-template-item" > <img src="" /> <p></p> - <span class="onlyoffice-template-preview"></span> + <span class="onlyoffice-template-download"></span> <span class="onlyoffice-template-delete icon-delete"></span> </li>
\ No newline at end of file |