isAngl.html.php 882 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. use n2n\web\http\nav\Murl;
  3. use internship\controller\IsRootController;
  4. use n2n\core\N2N;
  5. $view = \n2n\impl\web\ui\view\html\HtmlView::view($this);
  6. $html = \n2n\impl\web\ui\view\html\HtmlView::html($view);
  7. $html->meta()->bodyEnd()->addJs('internship-dev/browser/main.js', attrs: ['type' => 'module']);
  8. $baseUrlStr = (string) $view->buildUrl(Murl::controller(IsRootController::class))->getPath()
  9. ->chEndingDelimiter(true);
  10. $html->meta()->head()->addContents(new \n2n\web\ui\Raw('<base href="' . htmlspecialchars($baseUrlStr) . '" />'));
  11. ?>
  12. <!doctype html>
  13. <html class="no-js" lang="<?php $html->out($view->getN2nLocale()->getLanguageId()) ?>">
  14. <?php $html->headStart() ?>
  15. <meta charset="<?php $html->out(N2N::CHARSET) ?>" />
  16. <?php $html->headEnd() ?>
  17. <?php $html->bodyStart() ?>
  18. <internship-root>
  19. </internship-root>
  20. <?php $html->bodyEnd() ?>
  21. </html>