trying to port web app starter from PHP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
Profiler::log('page template: start', 1);
|
||||
$embed_mode = !empty($_GET['embed']);
|
||||
?><!doctype html>
|
||||
<html class="<?= asafe(theme_html_class()) ?>" lang="en" data-theme-key="<?= asafe((string)cfg('theme/key')) ?>">
|
||||
<head>
|
||||
<?php theme_render_head(); ?>
|
||||
</head>
|
||||
<body class="portal-theme portal-light-theme<?= $embed_mode ? ' embed-mode' : '' ?>">
|
||||
<?php theme_render_global_controls($embed_mode); ?>
|
||||
<?php theme_render_standard_nav(); ?>
|
||||
<div id="content"<?= $embed_mode ? ' class="embed-content"' : '' ?>>
|
||||
<?= URL::$fragments['main'] ?>
|
||||
</div>
|
||||
<?php theme_render_footer(null, array('embed_mode' => $embed_mode, 'inner_class' => 'footer-inner')); ?>
|
||||
</body>
|
||||
<?php Profiler::log('page template: end', -1); ?>
|
||||
</html>
|
||||
Reference in New Issue
Block a user