2011-04-18 16:04:55 +04:00
|
|
|
<?php
|
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;
|
|
|
|
}
|
|
|
|
?>
|
2013-07-29 17:33:23 +04:00
|
|
|
<?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; ?>
|