2011-04-18 16:04:55 +04:00
< ? php
2014-09-18 00:49:37 +04:00
/** @var $_ array */
2016-10-28 22:46:28 +03:00
/** @var $l \OCP\IL10N */
2016-04-12 13:49:11 +03:00
/** @var $theme OC_Theme */
// @codeCoverageIgnoreStart
2012-09-07 17:22:01 +04:00
if ( ! isset ( $_ )) { //also provide standalone error page
2011-06-24 01:47:46 +04:00
require_once '../../lib/base.php' ;
2011-04-18 16:04:55 +04:00
2011-07-29 23:36:03 +04:00
$tmpl = new OC_Template ( '' , '404' , 'guest' );
2011-04-18 16:04:55 +04:00
$tmpl -> printPage ();
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 : ?>
< ul >
< li class = " error " >
2015-03-18 01:57:23 +03:00
< ? php p ( $l -> t ( 'File not found' )); ?> <br>
2014-09-18 00:49:37 +04:00
< p class = " hint " >< ? php p ( $l -> t ( 'The specified document has not been found on the server.' )); ?> </p>
2015-12-17 12:53:21 +03:00
< 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>
2013-07-29 17:33:23 +04:00
</ li >
</ ul >
< ? php endif ; ?>