summaryrefslogtreecommitdiffstats
path: root/core/templates/404.php
blob: bf1e03e6bc9852acb23bda8f7824c66a891efeb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
if(!isset($_)) {//also provide standalone error page
	require_once '../../lib/base.php';
	
	$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; ?>