From 3242afdf60efaed47cc053408be942b5ccbe7b68 Mon Sep 17 00:00:00 2001 From: nicod_ <nicod@lerebooteux.fr> Date: Wed, 26 Apr 2023 21:52:10 +0200 Subject: [PATCH] Afficher des infos utiles --- lang/blocs_type_fr.php | 2 ++ prive/objets/contenu/blocs_type.html | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/lang/blocs_type_fr.php b/lang/blocs_type_fr.php index fbbbcba..ebc6068 100644 --- a/lang/blocs_type_fr.php +++ b/lang/blocs_type_fr.php @@ -35,6 +35,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = [ // T 'texte_squelette' => 'Squelette', + 'texte_squelette_public' => 'Squelette public', + 'texte_squelette_prive' => 'Squelette privé', 'texte_ajouter_blocs_type' => 'Ajouter un type de bloc', 'texte_changer_statut_blocs_type' => 'Ce type de bloc est :', 'texte_creer_associer_blocs_type' => 'Créer et associer un type de bloc', diff --git a/prive/objets/contenu/blocs_type.html b/prive/objets/contenu/blocs_type.html index dbd5f14..1dd184a 100644 --- a/prive/objets/contenu/blocs_type.html +++ b/prive/objets/contenu/blocs_type.html @@ -1,8 +1,16 @@ <BOUCLE_blocs_type(BLOCS_TYPES){id_blocs_type}> -[<div class="champ contenu_titre[ (#TITRE*|strlen|?{'',vide})]"> - <div class="label"><:blocs_type:champ_titre_label:/> : </div> - <span dir="#LANG_DIR" class="#EDIT{titre} titre">(#TITRE)</span> -</div>] + +#BOITE_OUVRIR +<p> + <strong class="label"><:blocs_type:champ_identifiant_label:/> : </strong>#IDENTIFIANT +</p> +<p> + <strong class="label"><:blocs_type:texte_squelette_public:/> : </strong>[(#IDENTIFIANT|blocks_trouver_squelette{1})] +</p> +<p> + <strong class="label"><:blocs_type:texte_squelette_prive:/> : </strong>[(#IDENTIFIANT|blocks_trouver_squelette)] +</p> +#BOITE_FERMER #SET{saisies, #SAISIES|blocks_deserialize{1}} [(#GET{saisies}|oui) -- GitLab