praiadeseselle/site/templates/paxina.php

27 lines
639 B
PHP
Raw Normal View History

<?php namespace ProcessWire;
2023-02-21 14:48:37 +01:00
/** @var Page $page API variable */
$menu = '';
$contido = '';
2023-02-21 14:48:37 +01:00
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
{
$session->redirect($inicio->url);
}
else
{
2022-04-08 12:32:49 +02:00
$menu = renderMenu($inicio->and($inicio->children));
?>
<main id="contido" class="completo">
<nav id="migas" aria-label="<?=_x("Breadcrumb", "Breadcrumb");?>">
<?=renderMigasPan($page);?>
</nav>
<article id="servicios">
<h1 class="visually-hidden"><?=ucfirst($page->title);?></h1>
<?=getSeccions($page->seccions);?>
</article>
</main>
<?php
2022-04-08 12:32:49 +02:00
}