Saisies et explication

Jean-Christophe Villeneuve <[email protected]> Tue, 18 May 2021 18:55:49 +0200
Newsgroups gmane.comp.web.spip.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============1163417144==
Content-Type: multipart/alternative;
 boundary="------------3D9112286959B87A3AB8C3E7"
Content-Language: fr

This is a multi-part message in MIME format.
--------------3D9112286959B87A3AB8C3E7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello

Je voudrais afficher un texte d'explication en haut d'un formulaire mais 
rien ne s'affiche.
Je dois encore être à côté de la plaque.

Voici le code

     $saisies = array(
         array(
             'saisie' => 'explication',
             'options' => array(
                 'titre' => 'titre de l\'explication',
                 'texte' => 'texte de l\'explication',
                 'conteneur_class' => 'pleine_largeur',
                 )
             ),
         array(...),
         array(...),
         array(...)
         );
     return $saisies;

En fait je manque d'exemples un peu plus complexes que ceux proposés sur 
contrib.spip.net

JC

--------------3D9112286959B87A3AB8C3E7
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-text-flowed" style="font-family: -moz-fixed;
      font-size: 12px;" lang="x-unicode">Hello
      <br>
      <br>
      Je voudrais afficher un texte d'explication en haut d'un
      formulaire mais rien ne s'affiche.
      <br>
      Je dois encore être à côté de la plaque.
      <br>
      <br>
      Voici le code
      <br>
      <br>
          $saisies = array(
      <br>
              array(
      <br>
                  'saisie' =&gt; 'explication',
      <br>
                  'options' =&gt; array(
      <br>
                      'titre' =&gt; 'titre de l\'explication',
      <br>
                      'texte' =&gt; 'texte de l\'explication',
      <br>
                      'conteneur_class' =&gt; 'pleine_largeur',
      <br>
                      )
      <br>
                  ),
      <br>
              array(...),
      <br>
              array(...),
      <br>
              array(...)
      <br>
              );
      <br>
          return $saisies;
      <br>
      <br>
      En fait je manque d'exemples un peu plus complexes que ceux
      proposés sur contrib.spip.net
      <br>
      <br>
      JC<br>
    </div>
  </body>
</html>

--------------3D9112286959B87A3AB8C3E7--

--===============1163417144==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline