praiadeseselle/site/templates/habitacion.php

22 lines
No EOL
565 B
PHP

<?php namespace ProcessWire;
/** @var Page $page API variable */
$menu = '';
$contido = '';
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
{
$session->redirect($inicio->url);
}
else
{
$menu = renderMenu($inicio->children);
$contido .= renderMigasPan($page) . "\n";
$contido .= '<article id="' . $page->name .'" class="container">' . "\n";
$contido .= '<h2 class="visually-hidden">' . ucfirst($page->title) . '</h2>' . "\n";
$contido .= getSeccions($page->seccions) . "\n";
$contido .= '</article>' . "\n";
}