server/core/templates/404.php

19 lines
481 B
PHP
Raw Normal View History

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