12345678910111213141516171819202122232425262728293031 |
- <?php
- if (!isset($_)) {
- require_once '../../lib/base.php';
- $urlGenerator = \OC::$server->getURLGenerator();
- header('Location: ' . $urlGenerator->getAbsoluteURL('/'));
- exit;
- }
- ?>
- <?php if (isset($_['content'])): ?>
- <?php print_unescaped($_['content']) ?>
- <?php else: ?>
- <div class="body-login-container update">
- <div class="icon-big icon-search"></div>
- <h2><?php p($l->t('Page not found')); ?></h2>
- <p class="infogroup"><?php p($l->t('The page could not be found on the server or you may not be allowed to view it.')); ?></p>
- <p><a class="button primary" href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>">
- <?php p($l->t('Back to %s', [$theme->getName()])); ?>
- </a></p>
- </div>
- <?php endif; ?>
|