Ticket #268 - Modification de la syntaxe des INCLURE
Créé le mercredi 15 février 2012 par YannX
- Assigné à :
- Le ticket n’a été assigné à personne.
Bonsoir Marcimat,
Je reprenais un peu de SPIP (développement abandonné longuement), et en consultant ta documentation, j’ai un doute sur http://programmer.spip.org/Transmettre-des-parametres
La syntaxe traditionnelle
<INCLURE{fond=C}{env}{couleur=rouge} />
n’est-elle pas dépréciée pour :
<INCLURE{fond=C,couleur=rouge}}{env} />
Et vois ci-dessous le message que j’ai aperçu en demandant de renouveler mont mot de passe (que j’avais perdu ;-) ,
Merci SPIP
et merci MarciMat
YannX
Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 1083 Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 1104 Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 2171 Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 1083 Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 1104 Warning : trim() expects parameter 1 to be string, array given in /var/alternc/html/m/marcimat/zone/facteur/phpmailer-php5/class.phpmailer.php on line 2171
1 commentaire
Seules les personnes identifiées peuvent écrire des tickets ou commentaires.
Les 2 syntaxes sont correctes. Sauf que la 2e ce serait :