Mais correccions de estilos.
This commit is contained in:
parent
a5a5a5a883
commit
dc416d6b8b
5 changed files with 27 additions and 7 deletions
|
@ -5,7 +5,14 @@
|
||||||
$menu = '';
|
$menu = '';
|
||||||
$contido = '';
|
$contido = '';
|
||||||
|
|
||||||
$menu = renderMenu($inicio->children);
|
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");
|
$publicacions = pages()->get('/noticias/publicaciones/')->children("template='publicacion',categorias=$page,sort=-fecha_publicacion,limit=10");
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
$menu = renderMenu($inicio->children);
|
$menu = renderMenu($inicio->children);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,14 @@
|
||||||
$menu = '';
|
$menu = '';
|
||||||
$contido = '';
|
$contido = '';
|
||||||
|
|
||||||
$menu = renderMenu($inicio->children);
|
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");
|
$publicacions = pages()->get('/noticias/publicaciones/')->children("template='publicacion',etiquetas=$page,sort=-fecha_publicacion,limit=10");
|
||||||
|
|
||||||
|
|
|
@ -96,8 +96,8 @@ if($input->get->logout == true)
|
||||||
</picture>
|
</picture>
|
||||||
<h1 class="visually-hidden"><?php echo $configuracion['sitio_nome']; ?> <?php echo $configuracion['sitio_descripcion']; ?></h1>
|
<h1 class="visually-hidden"><?php echo $configuracion['sitio_nome']; ?> <?php echo $configuracion['sitio_descripcion']; ?></h1>
|
||||||
</a>
|
</a>
|
||||||
<div class="d-flex flex-row flex-md-column-reverse justify-content-between">
|
<div class="d-flex flex-row 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">
|
<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="input-group">
|
||||||
<div class="form-floating">
|
<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"); ?>…" />
|
<input type="search" id="atopar-consulta" name="q" class="form-control rounded-0 shadow-none py-1" placeholder="<?php echo _x("Atopar", "Search"); ?>…" />
|
||||||
|
@ -108,7 +108,7 @@ if($input->get->logout == true)
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</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">
|
<ul class="nav">
|
||||||
<?php foreach($languages as $idioma) : ?>
|
<?php foreach($languages as $idioma) : ?>
|
||||||
<?php if(!$page->viewable($idioma)) continue; ?>
|
<?php if(!$page->viewable($idioma)) continue; ?>
|
||||||
|
|
|
@ -5,7 +5,14 @@
|
||||||
$menu = '';
|
$menu = '';
|
||||||
$contido = '';
|
$contido = '';
|
||||||
|
|
||||||
$menu = renderMenu($inicio->children);
|
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 .= renderMigasPan($page) . "\n";
|
||||||
$contido .= renderArtigos($page, $languages->getLocale(), false);
|
$contido .= renderArtigos($page, $languages->getLocale(), false);
|
Loading…
Reference in a new issue