Last change
on this file since 92457 was
92457,
checked in by real3t@…, 5 years ago
|
supprimer_timestamp n'est pas présent dans SPIP 3.0
Utiliser appliquer filtre dont la documentation est fausse
En effet, il est question dans http://www.spip.net/fr_article5068.html de pouvoir passer des arguments supplémentaires.
Or, la lecture du code montre :
function appliquer_filtre($arg, $filtre, $force=NULL) {
@param string $force
La fonction doit-elle retourner le texte ou rien ?
La fonction est identique en 3.1
==> Je modifie la doc ?
|
File size:
1.3 KB
|
Line | |
---|
1 | <BOUCLE_Pictos(MOTS){type=_ModePortail}{titre==#ENV{pictoscherches}}{par num titre}> |
---|
2 | #SET{logo,(#LOGO_MOT_NORMAL|extraire_attribut{src}|sinon{#CHEMIN{images/vignette_portail_default.png}})} |
---|
3 | #SET{largeur,#GET{logo}|largeur} |
---|
4 | #SET{hauteur,#GET{logo}|hauteur} |
---|
5 | #SET{logo,#GET{logo}|image_reduire{#GET{largeur},#GET{hauteur}}|extraire_attribut{src}|appliquer_filtre{supprimer_timestamp,true}} |
---|
6 | <BOUCLE_ArticlePicto(ARTICLES){id_mot}{par hasard}{0,1} {lang}> |
---|
7 | <a href="#ARTICLE_URL" class="vignette"> |
---|
8 | <img src="[(#GET{logo})]" alt="[(#_Pictos:TITRE|attribut_html)]" title="[(#_Pictos:DESCRIPTIF|attribut_html)][ - (#_Pictos:TEXTE|attribut_html)]" width="#GET{largeur}" height="#GET{hauteur}" /> |
---|
9 | </a> |
---|
10 | </BOUCLE_ArticlePicto> |
---|
11 | <BOUCLE_RubriquePicto(RUBRIQUES){id_mot}{par hasard}{0,1}> |
---|
12 | <a href="#URL_RUBRIQUE" class="vignette"> |
---|
13 | <img src="[(#GET{logo})]" alt="[(#_Pictos:TITRE|attribut_html)]" title="[(#_Pictos:DESCRIPTIF|attribut_html)][ - (#_Pictos:TEXTE|attribut_html)]" width="#GET{largeur}" height="#GET{hauteur}" /> |
---|
14 | </a> |
---|
15 | </BOUCLE_RubriquePicto> |
---|
16 | <a href="#URL_MOT" class="vignette"> |
---|
17 | <img src="[(#GET{logo})]" alt="[(#_Pictos:TITRE|attribut_html)]" title="[(#_Pictos:DESCRIPTIF|attribut_html)][ - (#_Pictos:TEXTE|attribut_html)]" width="#GET{largeur}" height="#GET{hauteur}" /></a> |
---|
18 | <//B_RubriquePicto> |
---|
19 | <//B_ArticlePicto> |
---|
20 | </BOUCLE_Pictos> |
---|
21 | #FILTRE{mini_html} |
---|
Note: See
TracBrowser
for help on using the repository browser.