Skip to content
Extraits de code Groupes Projets
Valider f4e4aa3f rédigé par ARNO*'s avatar ARNO* Validation de marcimat
Parcourir les fichiers

Présentation des sous-rubriques (vignettes + grosses)

parent 04ca1be0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -68,7 +68,7 @@ function enfant_rub($collection, $debut = 0, $limite = 500) { ...@@ -68,7 +68,7 @@ function enfant_rub($collection, $debut = 0, $limite = 500) {
if ($voir_logo) { if ($voir_logo) {
if ($logo = $chercher_logo($id_rubrique, 'id_rubrique', 'on')) { if ($logo = $chercher_logo($id_rubrique, 'id_rubrique', 'on')) {
list($fid, $dir, $nom, $format) = $logo; list($fid, $dir, $nom, $format) = $logo;
$logo = image_reduire("<img src='$fid' alt='' />", 48, 36); $logo = image_reduire("<img src='$fid' alt='' />", 70, 70);
if ($logo) { if ($logo) {
$logo = inserer_attribut($logo, 'class', 'logo'); $logo = inserer_attribut($logo, 'class', 'logo');
} }
...@@ -91,11 +91,12 @@ function enfant_rub($collection, $debut = 0, $limite = 500) { ...@@ -91,11 +91,12 @@ function enfant_rub($collection, $debut = 0, $limite = 500) {
'</a>'; '</a>';
$titre = (is_string($logo) ? $logo : '') . $titre = (is_string($logo) ? $logo : '') .
bouton_block_depliable($lib_bouton, $les_sous_enfants ? false : -1, "enfants$id_rubrique"); bouton_block_depliable($lib_bouton, $les_sous_enfants ? false : -1, "enfants$id_rubrique")
.(!$descriptif ? '' : "\n<div class='descriptif'>$descriptif</div>")
;
$res[] = $res[] =
debut_cadre_sous_rub(($id_parent ? 'rubrique-24.png' : 'secteur-24.png'), true, '', $titre) . debut_cadre_sous_rub(($id_parent ? 'rubrique-24.png' : 'secteur-24.png'), true, '', $titre) .
(!$descriptif ? '' : "\n<div class='descriptif'>$descriptif</div>") .
$les_sous_enfants . $les_sous_enfants .
fin_cadre_sous_rub(true); fin_cadre_sous_rub(true);
} }
......
...@@ -487,7 +487,8 @@ ...@@ -487,7 +487,8 @@
- replié : .depliant.replie */ - replié : .depliant.replie */
.box .titrem.replie, .box .titrem.replie,
.box .titrem.depliant, .box .titrem.depliant,
.box .titrem.impliable { .box .titrem.impliable
{
display: block; display: block;
font-size: 1em; font-size: 1em;
line-height: 1.25; line-height: 1.25;
...@@ -495,6 +496,9 @@ ...@@ -495,6 +496,9 @@
background-repeat: no-repeat; background-repeat: no-repeat;
border-radius: inherit; border-radius: inherit;
} }
.box .titrem.impliable .titremancre {
display: none;
}
/* Picto déplier / Replier */ /* Picto déplier / Replier */
.box .titremancre { .box .titremancre {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter