2011-04-18 16:04:55 +04:00
|
|
|
<?php
|
2020-08-17 18:16:50 +03:00
|
|
|
/** @var array $_ */
|
|
|
|
/** @var \OCP\IL10N $l */
|
|
|
|
/** @var \OCP\Defaults $theme */
|
2016-04-12 13:49:11 +03:00
|
|
|
// @codeCoverageIgnoreStart
|
2020-04-10 15:19:56 +03:00
|
|
|
if (!isset($_)) {//standalone page is not supported anymore - redirect to /
|
2011-06-24 01:47:46 +04:00
|
|
|
require_once '../../lib/base.php';
|
2017-07-26 17:30:09 +03:00
|
|
|
|
|
|
|
$urlGenerator = \OC::$server->getURLGenerator();
|
|
|
|
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
|
2011-04-18 16:04:55 +04:00
|
|
|
exit;
|
|
|
|
}
|
2016-04-12 13:49:11 +03:00
|
|
|
// @codeCoverageIgnoreEnd
|
2011-04-18 16:04:55 +04:00
|
|
|
?>
|
2013-07-29 17:33:23 +04:00
|
|
|
<?php if (isset($_['content'])): ?>
|
|
|
|
<?php print_unescaped($_['content']) ?>
|
|
|
|
<?php else: ?>
|
2018-10-02 23:47:12 +03:00
|
|
|
<div class="body-login-container update">
|
|
|
|
<div class="icon-big icon-search icon-white"></div>
|
|
|
|
<h2><?php p($l->t('File not found')); ?></h2>
|
|
|
|
<p class="infogroup"><?php p($l->t('The document could not be found on the server. Maybe the share was deleted or has expired?')); ?></p>
|
|
|
|
<p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>">
|
2020-03-26 11:30:18 +03:00
|
|
|
<?php p($l->t('Back to %s', [$theme->getName()])); ?>
|
2018-10-02 23:47:12 +03:00
|
|
|
</a></p>
|
|
|
|
</div>
|
2013-07-29 17:33:23 +04:00
|
|
|
<?php endif; ?>
|