Skip to content

Commit

Permalink
tab indents in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Dec 19, 2023
1 parent 4697df5 commit 3c5ab8a
Show file tree
Hide file tree
Showing 2 changed files with 319 additions and 329 deletions.
25 changes: 12 additions & 13 deletions templates/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@
?>

<div id="app">
<div id="iframeEditor"
data-id="<?php p($_["fileId"]) ?>"
data-path="<?php p($_["filePath"]) ?>"
data-sharetoken="<?php p($_["shareToken"]) ?>"
data-version="<?php p($_["version"]) ?>"
data-template="<?php p($_["template"]) ?>"
data-anchor="<?php p($_["anchor"]) ?>"
data-inframe="<?php p($_["inframe"]) ?>"></div>

<div id="iframeEditor"
data-id="<?php p($_["fileId"]) ?>"
data-path="<?php p($_["filePath"]) ?>"
data-sharetoken="<?php p($_["shareToken"]) ?>"
data-version="<?php p($_["version"]) ?>"
data-template="<?php p($_["template"]) ?>"
data-anchor="<?php p($_["anchor"]) ?>"
data-inframe="<?php p($_["inframe"]) ?>"></div>

<?php if (!empty($_["documentServerUrl"])) { ?>
<script nonce="<?php p(base64_encode($_["requesttoken"])) ?>"
src="<?php p($_["documentServerUrl"]) ?>web-apps/apps/api/documents/api.js" type="text/javascript"></script>
<?php } ?>
<?php if (!empty($_["documentServerUrl"])) { ?>
<script nonce="<?php p(base64_encode($_["requesttoken"])) ?>"
src="<?php p($_["documentServerUrl"]) ?>web-apps/apps/api/documents/api.js" type="text/javascript"></script>
<?php } ?>

</div>
Loading

0 comments on commit 3c5ab8a

Please sign in to comment.