praiadeseselle/site/templates/publicacion.php

19 lines
493 B
PHP
Raw Normal View History

2022-10-25 14:47:38 +02:00
<?php namespace ProcessWire;
$mantemento = $inicio->mantemento;
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
2022-10-25 14:47:38 +02: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');
}
$contido = '';
2022-10-25 14:47:38 +02:00
$contido .= renderMigasPan($page) . "\n";
$contido .= '<div class="contedor">' . "\n";
$contido .= renderArtigos($page, $languages->getLocale(), false);
$contido .= '</div>' . "\n";