2022-10-25 14:47:38 +02:00
|
|
|
<?php namespace ProcessWire;
|
|
|
|
|
|
|
|
$mantemento = $inicio->mantemento;
|
|
|
|
|
2022-12-11 11:24:02 +01:00
|
|
|
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
|
2022-10-25 14:47:38 +02:00
|
|
|
{
|
2022-12-11 11:24:02 +01:00
|
|
|
$menu = renderMenu($inicio->and($pages->get('/noticias')), 0, 'paxinas');
|
2022-10-25 14:47:38 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-10-27 14:10:14 +02:00
|
|
|
$menu = renderMenu($inicio->and($inicio->children), 0, 'paxinas');
|
2022-12-11 11:24:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
$contido = '';
|
2022-10-25 14:47:38 +02:00
|
|
|
|
2022-12-11 11:24:02 +01:00
|
|
|
$contido .= renderMigasPan($page) . "\n";
|
|
|
|
$contido .= '<div class="contedor">' . "\n";
|
|
|
|
$contido .= renderArtigos($page, $languages->getLocale(), false);
|
|
|
|
$contido .= '</div>' . "\n";
|