#SET{vspip, #EVAL{$GLOBALS['spip_version_branche']}} #SET{autoriser_plugins_ajouter,#AUTORISER{ajouter,_plugins}} #SET{autoriser_webmestre,#AUTORISER{webmestre}} [(#SET{image_verrou,[(#CHEMIN_IMAGE{cadenas-16.png}|balise_img{<:svp:plugin_info_verrouille:>,picto_verrou}|inserer_attribut{title,<:svp:plugin_info_verrouille:>})]})] <B_plugins> [(#GET{incompatibles}) [(#ENV{afficher_incompatibles,''}|non) <:svp:afficher_les_plugins_incompatibles:> ] [(#ENV{afficher_incompatibles,''}|oui) <:svp:cacher_les_plugins_incompatibles:> ] ]

<BOUCLE_plugins(PAQUETS plugins){tout}{par multi nom, paquets.prefixe}{!par constante, actif}{id_depot=0}{actif ?}{constante ?IN #ENV{constante}}> #SET{incompatible, #COMPATIBILITE_SPIP|plugin_version_compatible{#GET{vspip}, spip}|non} #SET{compat_spip, #COMPATIBILITE_SPIP|plugin_version_compatible{#GET{vspip}}} #SET{compat_forcee,#GET{compat_spip}|non|et{#CONST{_DEV_VERSION_SPIP_COMPAT}} |?{#COMPATIBILITE_SPIP|plugin_version_compatible{#CONST{_DEV_VERSION_SPIP_COMPAT}}, ''}} #SET{verrou,#CONSTANTE|=={_DIR_PLUGINS_DIST}|oui} #SET{actif,#ACTIF|=={oui}|oui} #SET{attente,#ATTENTE|=={oui}|oui} [(#GET{incompatible})#SET{incompatibles,' '}] #SET{afficher,#GET{incompatible}|non|ou{#ENV{afficher_incompatibles,''}}|ou{#GET{verrou}}|ou{#GET{actif}}|ou{#GET{attente}}} <BOUCLE_afficher(CONDITION) {si #GET{afficher}|et{#ID_PAQUET|svp_affichage_filtrer_paquets}}> #SET{obsolete,#OBSOLETE|=={oui}|oui} #SET{details,#ENV{id_paquet,''}|=={#ID_PAQUET}|oui}
- [(#REM) Checkbox pour actions groupées ] #SET{has_check,0}
  [(#GET{incompatible}|non|ou{#GET{attente}}|et{#GET{verrou}|non}) [(#GET{obsolete}|non) #SET{has_check,1}
  ] [(#REM) si la configuration le permet, on peut activer un plugin obsolete ] [(#GET{obsolete}|et{#GET{incompatible}|non}) [(#CONFIG{svp/autoriser_activer_paquets_obsoletes}|=={oui}|oui) #SET{has_check,1}
  ] ] ]
  [(#LOGO|oui)
  [(#CONST{#CONSTANTE}|concat{#SRC_ARCHIVE/#LOGO}|balise_img)]
  ]
  [(#REM) Resume du plugin ]
  [(#GET{has_check}|oui)]

  ### [(#NOM|extraire_multi|svp_importer_charset)]

  #_plugins:VERSION [(#GET{has_check}|oui)] [(#ENV{verrouille}|=={tous}|et{#GET{actif}}) <:svp:etat_actif:> ][(#ENV{verrouille}|=={tous}|et{#GET{actif}|non}) <:svp:etat_inactif:> ][(#ENV{verrouille}|=={tous}|et{#GET{verrou}}) <:svp:etat_verrouille:> ][(#GET{obsolete}|oui) <:svp:etat_obsolete:> ] [(#SET{slogan,#SLOGAN|extraire_multi|typo})] [(#GET{slogan}|non)[(#SET{slogan,#DESCRIPTION|extraire_multi|propre|PtoBR|explode{'
  '}|reset})]]
  [(#GET{slogan}|couper{80}|svp_importer_charset)]
  [(#REM) Messages ] [(#SET{erreurs, #ARRAY{ attente, #GET{attente}|?{#GET{autoriser_plugins_ajouter}|?{<:svp:info_plugin_attente_dependance:>,<:svp:info_plugin_attente_dependance_interdit:>}}, incompatible, #GET{incompatible}|?{<:svp:info_plugin_incompatible:>}, compat_forcee, #GET{compat_forcee}|?{<:svp:info_plugin_compat_forcee:>}, }|array_filter})] #SET{messages, #ARRAY{ maj, #GET{obsolete}|non|et{#_plugins:MAJ_VERSION}|et{#GET{autoriser_plugins_ajouter}}, erreurs, #GET{erreurs}, }|array_filter} [(#GET{messages}|oui)
  [(#GET{messages/maj}|oui) #SET{xyz,#_plugins:VERSION|svp_diff_xyz{#_plugins:MAJ_VERSION}} [(#GET{xyz}|oui) [(#VAL{svp:plugin_info_up_#GET{xyz}}|_T{#ARRAY{version,#_plugins:MAJ_VERSION}})] ][(#GET{xyz}|non) <:svp:plugin_info_up{version=#_plugins:MAJ_VERSION}:> ] ] [(#GET{messages/erreurs}|oui) [(#GET{erreurs}|implode{' - '})] ]
  ] [(#REM) Liens + boutons d'actions ]
  [(#REM) /.footer ] [(#REM) Détails ] [(#GET{details}) <INCLURE{fond=prive/squelettes/inclure/plugin_detail,id_paquet,env}> ] </BOUCLE_afficher>
</BOUCLE_plugins>

</B_plugins>