diff --git a/blocks/texte_simple.html b/blocks/texte_simple.html index 5c1dc3af56e009908bcb7a1a8f51a01df942a0a8..b1c64102fb5b147ef7ea8abdbc443fae0dc9431c 100644 --- a/blocks/texte_simple.html +++ b/blocks/texte_simple.html @@ -1,2 +1,2 @@ -<h2>#INPUT_1</h2> +[<h2>(#INPUT_1)</h2>] [(#TEXTAREA_1|propre)] diff --git a/blocks_administrations.php b/blocks_administrations.php index a7e19bf132c4eacb8a89ead7d7b00c868c1923f2..478cc4018c961fc4f99ee2c6f24e6fed5d44ce0b 100644 --- a/blocks_administrations.php +++ b/blocks_administrations.php @@ -80,12 +80,22 @@ function blocks_installe_config() { [ 'options' => [ + 'nom' => 'titre', + 'label' => 'Titre', + 'conteneur_class' => 'pleine_largeur', + ], + 'identifiant' => uniqid('@'), + 'saisie' => 'input', + ], + [ + 'options' => + [ + 'nom' => 'texte', 'label' => 'Texte', 'conteneur_class' => 'pleine_largeur', 'rows' => '10', 'inserer_barre' => 'edition', 'previsualisation' => 'on', - 'nom' => 'textarea_1', ], 'identifiant' => uniqid('@'), 'saisie' => 'textarea', diff --git a/blocks_prive/texte_simple.html b/blocks_prive/texte_simple.html index 5c1dc3af56e009908bcb7a1a8f51a01df942a0a8..b1c64102fb5b147ef7ea8abdbc443fae0dc9431c 100644 --- a/blocks_prive/texte_simple.html +++ b/blocks_prive/texte_simple.html @@ -1,2 +1,2 @@ -<h2>#INPUT_1</h2> +[<h2>(#INPUT_1)</h2>] [(#TEXTAREA_1|propre)]