nextcloud/core/templates/404.php

19 lines
471 B
PHP
Raw Normal View History

<?php
if(!isset($_)){//also provide standalone error page
2011-06-24 01:47:46 +04:00
require_once '../../lib/base.php';
2011-07-29 23:36:03 +04:00
$tmpl = new OC_Template( '', '404', 'guest' );
$tmpl->printPage();
exit;
}
?>
2011-04-18 15:16:32 +04:00
<div id="login">
2011-07-30 23:58:00 +04:00
<header><img src="<?php echo image_path('', 'weather-clear.png'); ?>" alt="ownCloud" /></header>
2011-04-18 15:16:32 +04:00
<ul>
<li class='error'>
2011-06-20 01:33:34 +04:00
<?php echo $l->t( 'Error 404, Cloud not found' ); ?><br/>
2011-04-18 15:16:32 +04:00
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
</li>
</ul>
2011-07-30 23:58:00 +04:00
</div>