server/core/templates/404.php

20 lines
443 B
PHP
Raw Normal View History

<?php
2012-09-07 13:22:01 +00:00
if(!isset($_)) {//also provide standalone error page
2011-06-23 21:47:46 +00:00
require_once '../../lib/base.php';
2011-07-29 19:36:03 +00:00
$tmpl = new OC_Template( '', '404', 'guest' );
$tmpl->printPage();
exit;
}
?>
<?php if (isset($_['content'])): ?>
<?php print_unescaped($_['content']) ?>
<?php else: ?>
<ul>
<li class="error">
<?php p($l->t( 'Cloud not found' )); ?><br/>
<p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
</li>
</ul>
<?php endif; ?>