2011-04-18 12:04:55 +00:00
|
|
|
<?php
|
2014-09-17 20:49:37 +00:00
|
|
|
/** @var $_ array */
|
2016-10-28 19:46:28 +00:00
|
|
|
/** @var $l \OCP\IL10N */
|
2017-04-07 20:42:43 +00:00
|
|
|
/** @var $theme OCP\Defaults */
|
2016-04-12 10:49:11 +00:00
|
|
|
// @codeCoverageIgnoreStart
|
2017-07-26 14:30:09 +00:00
|
|
|
if(!isset($_)) {//standalone page is not supported anymore - redirect to /
|
2011-06-23 21:47:46 +00:00
|
|
|
require_once '../../lib/base.php';
|
2017-07-26 14:30:09 +00:00
|
|
|
|
|
|
|
$urlGenerator = \OC::$server->getURLGenerator();
|
|
|
|
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
|
2011-04-18 12:04:55 +00:00
|
|
|
exit;
|
|
|
|
}
|
2016-04-12 10:49:11 +00:00
|
|
|
// @codeCoverageIgnoreEnd
|
2011-04-18 12:04:55 +00:00
|
|
|
?>
|
2013-07-29 13:33:23 +00:00
|
|
|
<?php if (isset($_['content'])): ?>
|
|
|
|
<?php print_unescaped($_['content']) ?>
|
|
|
|
<?php else: ?>
|
2018-10-02 20:47:12 +00: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')) ?>">
|
|
|
|
<?php p($l->t('Back to %s', array($theme->getName()))); ?>
|
|
|
|
</a></p>
|
|
|
|
</div>
|
2013-07-29 13:33:23 +00:00
|
|
|
<?php endif; ?>
|