Changeset 70466 in spip-zone


Ignore:
Timestamp:
Mar 6, 2013, 12:11:47 PM (6 years ago)
Author:
pierre.fiches@…
Message:

LISTE à la place de ARRAY c'est plus élégant (merci b_b).

Location:
_core_
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.0/plugins/forum/prive/modeles/forum.html

    r70416 r70466  
    2626<BOUCLE_sit(SYNDIC){id_syndic=#OBJET|=={syndic}|?{#ID_OBJET}}><div class='reponse_a'><:forum:lien_reponse_site_reference:> <a href='[(#ID_SYNDIC|generer_url_entite{site,'','',1}|ancre_url{forum#ID_FORUM})]'>#NOM_SITE</a>#SET{voir,'</div>'}</BOUCLE_sit>
    2727<//B_art>
    28 [(#OBJET|in_array{#ARRAY{0,'article',1,'rubrique',2,'breve',3,'syndic'}}|non)
     28[(#OBJET|in_array{#LISTE{article,rubrique,breve,syndic}}|non)
    2929<div class='reponse_a'>[(#OBJET|concat{:lien_reponse_,#OBJET}|_T)] <a href='[(#ID_OBJET|generer_url_entite{#OBJET,'',forum#ID_FORUM, #STATUT|!={prive}})]'>#TITRE</a>
    3030#SET{voir,'</div>'}
  • _core_/plugins/forum/prive/modeles/forum.html

    r70416 r70466  
    2626<BOUCLE_sit(SYNDIC){id_syndic=#OBJET|=={syndic}|?{#ID_OBJET}}><div class='reponse_a'><:forum:lien_reponse_site_reference:> <a href='[(#ID_SYNDIC|generer_url_entite{site,'','',1}|ancre_url{forum#ID_FORUM})]'>#NOM_SITE</a>#SET{voir,'</div>'}</BOUCLE_sit>
    2727<//B_art>
    28 [(#OBJET|in_array{#ARRAY{0,'article',1,'rubrique',2,'breve',3,'syndic'}}|non)
     28[(#OBJET|in_array{#LISTE{article,rubrique,breve,syndic}}|non)
    2929<div class='reponse_a'>[(#OBJET|concat{:lien_reponse_,#OBJET}|_T)] <a href='[(#ID_OBJET|generer_url_entite{#OBJET,'',forum#ID_FORUM, #STATUT|!={prive}})]'>#TITRE</a>
    3030#SET{voir,'</div>'}
Note: See TracChangeset for help on using the changeset viewer.