Last change
on this file since 48798 was
48798,
checked in by webmaster@…, 10 years ago
|
ACS:
- la balise #ACS_CHEMIN{truc} ne renvoit désormais plus rien si truc n'est pas un fichier lisible.
Cat :
- Articles: gestion des versions des articles. Affichage des changements (wiki). Mise à jour d'une ancienne version (wiki: revert).
- Rubnav : supprimer numéro sur résultat d'une recherche.
- Versions: nouveau composant affichant les versions d'un article (wiki).
|
File size:
1.5 KB
|
Line | |
---|
1 | [(#CACHE{0})][(#REM) |
---|
2 | |
---|
3 | Listes d'articles (pour sommaire, resume, plan, rubrique, recherche, mot-clé) |
---|
4 | |
---|
5 | On transmet id_article dans la classe du pinceau pour prévisualiser |
---|
6 | l'article id_article avec le pinceau du présent composant. |
---|
7 | |
---|
8 | Paramètres: |
---|
9 | id_article: affiche l'article id_article. |
---|
10 | id_mot: affiche le mot-clé id_mot et la liste des articles ayant ce mot-clé si id_article est vide. |
---|
11 | page: détermine la boucle SPIP à charger si les variables précédentes sont vides. |
---|
12 | |
---|
13 | ]<div class="[id_article-(#ID_ARTICLE) ]#PINCEAU{articles}">[ |
---|
14 | (#ID_ARTICLE|?{' '})[(#INCLURE{fond=composants/articles/article}{env}{self}{id_article})#SET{ok,oui}]][ |
---|
15 | (#ID_MOT|?{' '})[(#INCLURE{fond=composants/articles/boucle-articles_mot}{env}{self})#SET{ok,oui}]][ |
---|
16 | (#ENV{page}|=={sommaire}|?{' '})[(#INCLURE{fond=composants/articles/boucle-une}{env}{self}{debut_articles})#SET{ok,oui}]][(#REM) TODO : ne pas afficher article de l'édito si Edito actif ][ |
---|
17 | (#ENV{page}|=={resume}|?{' '})[(#INCLURE{fond=composants/articles/boucle-resume}{env}{self}{debut_articles})#SET{ok,oui}]][ |
---|
18 | (#ENV{page}|=={recherche}|?{' '})[(#INCLURE{fond=composants/articles/boucle-articles_recherche}{env}{self})#SET{ok,oui}]][ |
---|
19 | (#ENV{page}|=={plan}|?{' '})[(#INCLURE{fond=composants/articles/boucle-plan}{env}{self})#SET{ok,oui}]][ |
---|
20 | (#ENV{page}|=={forums}|?{' '})[(#INCLURE{fond=composants/articles/boucle-plan}{env}{self}{mode=forums})#SET{ok,oui}]][ |
---|
21 | (#GET{ok}|!={oui}|?{' '})???][(#REM) PROVISOIRE : affiche ??? si aucune boucle ne convient - TODO : renvoyer vers 404 ?] |
---|
22 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.