Mais correccions de estilos.

This commit is contained in:
Laegnur 2023-03-10 16:52:43 +01:00
parent a5a5a5a883
commit dc416d6b8b
5 changed files with 27 additions and 7 deletions

View file

@ -5,7 +5,14 @@
$menu = '';
$contido = '';
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
{
$menu = renderMenu($pages->get('/noticias')->and($pages->get('/contacto')));
}
else
{
$menu = renderMenu($inicio->children);
}
$publicacions = pages()->get('/noticias/publicaciones/')->children("template='publicacion',categorias=$page,sort=-fecha_publicacion,limit=10");

View file

@ -11,7 +11,6 @@ if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
}
else
{
$menu = renderMenu($inicio->children);
}

View file

@ -5,7 +5,14 @@
$menu = '';
$contido = '';
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
{
$menu = renderMenu($pages->get('/noticias')->and($pages->get('/contacto')));
}
else
{
$menu = renderMenu($inicio->children);
}
$publicacions = pages()->get('/noticias/publicaciones/')->children("template='publicacion',etiquetas=$page,sort=-fecha_publicacion,limit=10");

View file

@ -96,8 +96,8 @@ if($input->get->logout == true)
</picture>
<h1 class="visually-hidden"><?php echo $configuracion['sitio_nome']; ?> <?php echo $configuracion['sitio_descripcion']; ?></h1>
</a>
<div class="d-flex flex-row flex-md-column-reverse justify-content-between">
<form class="col-7 col-md-auto py-2 mb-3 mb-md-0" action="<?php echo pages()->get('template=atopar')->url; ?>" method="get" role="search">
<div class="d-flex flex-row justify-content-between">
<form class="col-7 py-2 mb-3 mb-md-0" action="<?php echo pages()->get('template=atopar')->url; ?>" method="get" role="search">
<div class="input-group">
<div class="form-floating">
<input type="search" id="atopar-consulta" name="q" class="form-control rounded-0 shadow-none py-1" placeholder="<?php echo _x("Atopar", "Search"); ?>&hellip;" />
@ -108,7 +108,7 @@ if($input->get->logout == true)
</button>
</div>
</form>
<nav id="menus-idiomas" class="d-flex flex-row-reverse col-5 col-md-auto m-0 py-2" aria-label="Languages">
<nav id="menus-idiomas" class="d-flex flex-row-reverse col-5 m-0 py-2" aria-label="Languages">
<ul class="nav">
<?php foreach($languages as $idioma) : ?>
<?php if(!$page->viewable($idioma)) continue; ?>

View file

@ -5,7 +5,14 @@
$menu = '';
$contido = '';
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
{
$menu = renderMenu($pages->get('/noticias')->and($pages->get('/contacto')));
}
else
{
$menu = renderMenu($inicio->children);
}
$contido .= renderMigasPan($page) . "\n";
$contido .= renderArtigos($page, $languages->getLocale(), false);