blob: 0feda932b9ab27b9382fd56e11961cfeaad665d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>">
var richdocuments_permissions = '<?php p($_['permissions']) ?>';
var richdocuments_title = '<?php p($_['title']) ?>';
var richdocuments_fileId = '<?php p($_['fileId']) ?>';
var richdocuments_token = '<?php p($_['token'] ? $_['token'] : "") ?>';
var richdocuments_urlsrc = '<?php p($_['urlsrc'] ? $_['urlsrc'] : "") ?>';
var richdocuments_path = '<?php p($_['path']) ?>';
var richdocuments_userId = <?php isset($_['userId']) ? print_unescaped('\'' . \OCP\Util::sanitizeHTML($_['userId']) . '\'') : print_unescaped('null') ?>;
var richdocuments_instanceId = '<?php p($_['instanceId']) ?>';
var richdocuments_canonical_webroot = '<?php p($_['canonical_webroot']) ?>';
var richdocuments_directEdit = <?php isset($_['direct']) ? p('true') : p('false') ?>;
</script>
<?php
script('richdocuments', 'document');
?>
<div id="loadingContainer"></div>
<div id="proxyLoadingContainer">
<div id="proxyLoadingIcon"></div>
<div id="proxyLoadingMessage"></div>
</div>
<div id="documents-content"></div>
|