404.php 443 B

1234567891011121314151617181920
  1. <?php
  2. if(!isset($_)) {//also provide standalone error page
  3. require_once '../../lib/base.php';
  4. $tmpl = new OC_Template( '', '404', 'guest' );
  5. $tmpl->printPage();
  6. exit;
  7. }
  8. ?>
  9. <?php if (isset($_['content'])): ?>
  10. <?php print_unescaped($_['content']) ?>
  11. <?php else: ?>
  12. <ul>
  13. <li class="error">
  14. <?php p($l->t( 'Cloud not found' )); ?><br/>
  15. <p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
  16. </li>
  17. </ul>
  18. <?php endif; ?>