21 lines
805 B
PHP
Executable File
21 lines
805 B
PHP
Executable File
<?php
|
|
/** @var array $_ */
|
|
/** @var OCP\IURLGenerator $urlGenerator */
|
|
$urlGenerator = $_['urlGenerator'];
|
|
$version = \OCP\App::getAppVersion('ownpad');
|
|
$url = $_['url'];
|
|
$title = $_['title'];
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html style="height: 100%;">
|
|
<head>
|
|
<link rel="stylesheet" href="<?php p($urlGenerator->linkTo('ownpad', 'css/ownpad.css')) ?>?v=<?php p($version) ?>"/>
|
|
</head>
|
|
<body style="margin: 0px; padding: 0px; overflow: hidden; bottom: 37px; top: 0px; left: 0px; right: 0px; position: absolute;">
|
|
<div id="ownpad_bar">
|
|
<span>Title</span><strong><?php p($title); ?></strong><a id="ownpad_close">x</a>
|
|
</div>
|
|
<p><?php p($l->t("Your Etherpad/Ethercalc document could not be opened: the URL specified in your file does not match the allowed server.")); ?></p>
|
|
</body>
|
|
</html>
|