Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

404.php 790B

12345678910111213141516171819202122232425
  1. <?php
  2. /** @var $_ array */
  3. /** @var $l OC_L10N */
  4. /** @var $theme OC_Theme */
  5. // @codeCoverageIgnoreStart
  6. if(!isset($_)) {//also provide standalone error page
  7. require_once '../../lib/base.php';
  8. $tmpl = new OC_Template( '', '404', 'guest' );
  9. $tmpl->printPage();
  10. exit;
  11. }
  12. // @codeCoverageIgnoreEnd
  13. ?>
  14. <?php if (isset($_['content'])): ?>
  15. <?php print_unescaped($_['content']) ?>
  16. <?php else: ?>
  17. <ul>
  18. <li class="error">
  19. <?php p($l->t('File not found')); ?><br>
  20. <p class="hint"><?php p($l->t('The specified document has not been found on the server.')); ?></p>
  21. <p class="hint"><a href="<?php p(\OC::$server->getURLGenerator()->linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p>
  22. </li>
  23. </ul>
  24. <?php endif; ?>