[Documentation de SPIP] PUBLIE : Loops: The Syntax

Article publié
--------------

L'article "Loops: The Syntax" a été validé par George.

** Loops: The Syntax **
par mathieu à bidon.ca le mardi 9 septembre 2003

Basic Syntax

The basic syntax for a loop is thus :

<BOUCLEn(TYPE)criterion1criterion2...criterionx> HTML code + SPIP's tags
</BOUCLEn>

We saw, in the overview of loops and tags, that the HTML code + SPIP's
tags of the above example are repeated as many times as the loop could
extract items from the database (in other words, one time, several times,
or none).

The main instructon here is :

<BOUCLEn(TYPE)criterion1criterion2...criterionx>

The BOUCLE element is an instruction given to Spip to define a new loop ;
therefore it cannot be modified ; in other (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2042

En occitan:
- J'ai dû faire quelques corrections ultimes en languedocien et provençal .
- D'autre part j'ai fini le gascon.

Ce serait idéal si on pouvait intégrer dans le CVS:
- oci_lnc = lengadocian (avec les dernièrs corrections)
- oci_prv = provençau (avec les dernièrs corrections)
- oci_gsc = gascon

Merci d'avance

*

Par ailleurs, Fil, ta proposition pour les fichiers occitans me semble
bonne.
Si je t'ai bien compris, la version occitane mènera l'internaute par défaut
sur "lengadocian" (oci_lnc), et si l'internaute le désire, il pourra
s'orienter ensuite vers d'autres dialectes occitans dans la mesure où ils
seront disponibles.
Pour moi c'est OK.

Domergue