venom/tpl/engineers-dummy/base.php

30 lines
464 B
PHP
Raw Permalink Normal View History

<?php
use Venom\Core\Registry;
use Venom\Views\Asset;
$reg = Registry::getInstance();
$lang = $reg->getLang();
?>
<!doctype html>
<html lang="en">
<?php
echo $this->includeTemplate("header/head");
?>
<body>
<header>
<?= $lang->getTranslation("HEADLINE") ?>
</header>
<main>
<h1>Mami ich mag dich</h1>
<?php
$lang->getTranslation("TEST_TRANSLATION");
echo $this->templateData;
?>
</main>
<?php
Asset::get()->renderJS();
?>
</body>
</html>