#SET{vspip, #EVAL{$GLOBALS['spip_version_branche']}} <B_plugins>

<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{verrou,#CONSTANTE|=={_DIR_PLUGINS_DIST}|oui}
- [(#OBSOLETE|=={non}|et{#CONSTANTE|!={_DIR_PLUGINS_DIST}}|et{#GET{incompatible}|non}|ou{#ATTENTE|=={oui}}|oui)
  ] [(#REM) si la configuration le permet, on peut activer un plugin obsolete ] [(#OBSOLETE|=={oui}|et{#CONSTANTE|!={_DIR_PLUGINS_DIST}}|et{#GET{incompatible}|non}|oui) [(#CONFIG{svp/autoriser_activer_paquets_obsoletes}|=={oui}|oui)
  ] ] [(#REM) ]
  [(#ENV{id_paquet}|=={#ID_PAQUET}|?{#SET{id_paquet,''},#SET{id_paquet,#ID_PAQUET}})]

  ### [(#NOM|extraire_multi)]

  [(#VERSION)] [ - (#ETAT)] [(#SET{erreur,[(#OBSOLETE|=={oui}|oui)<:svp:info_plugin_obsolete:> ]})] [(#SET{erreur,[(#GET{erreur}|concat{[- (#ATTENTE|=={oui}|et{#AUTORISER{plugins_ajouter}|non}|oui)<:svp:info_plugin_attente_dependance_interdit:> ]})]})] [(#SET{erreur,[(#GET{erreur}|concat{[- (#ATTENTE|=={oui}|et{#AUTORISER{plugins_ajouter}|oui}|oui)<:svp:info_plugin_attente_dependance:> ]})]})] [(#SET{erreur,[(#GET{erreur}|concat{[- (#GET{incompatible}|oui)<:svp:info_plugin_incompatible:>]})]})]
  [(#GET{erreur}|ltrim{'-'}|sinon{#SLOGAN|extraire_multi|typo|sinon{#DESCRIPTION|extraire_multi|propre}|PtoBR|explode{'
  '}|reset|couper{80}})]
  [(#LOGO|oui)
  [(#CONSTANTE|constant|concat{#SRC_ARCHIVE/#LOGO}|image_reduire{32})]
  ]
  [(#REM) on peut desactiver un plugin - qu'il soit obsolete ou pas ] [(#CONSTANTE|!={_DIR_PLUGINS_DIST}|et{#GET{incompatible}|non}|oui) [(#ACTIF|=={oui}|oui) [(#INSTALLE|=={oui}|et{#AUTORISER{webmestre}}|oui) ] ] ] [(#OBSOLETE|=={non}|et{#CONSTANTE|!={_DIR_PLUGINS_DIST}}|et{#GET{incompatible}|non}|oui) [(#ACTIF|=={oui}|non|ou{#ATTENTE|=={oui}}) [(#ACTIF|=={oui}|non|ou{#ATTENTE|=={oui}|oui|et{#AUTORISER{plugins_ajouter}|oui}}|oui) ] ] [(#MAJ_VERSION|oui|et{#AUTORISER{plugins_ajouter}|oui}|oui) ] ] [(#REM) si la configuration le permet, on peut activer un plugin obsolete ] [(#OBSOLETE|=={oui}|et{#CONSTANTE|!={_DIR_PLUGINS_DIST}}|et{#GET{incompatible}|non}|oui) [(#ACTIF|=={oui}|non|et{#CONFIG{svp/autoriser_activer_paquets_obsoletes}|=={oui}}) ] ] [(#ACTIF|=={oui}|non|et{[(#SRC_ARCHIVE|couper{5}|=={auto/})]}) ] [(#CONSTANTE|=={_DIR_PLUGINS_DIST}|oui) <:svp:info_verrouille:> ]
  [(#ACTIF|=={oui}|et{#ATTENTE|=={non}}|oui) #SET{prefixe,#PREFIXE|strtolower} [(#CHEMIN_IMAGE{ok-16.png}|balise_img{<:svp:plugin_info_actif:>,picto_actif}|inserer_attribut{title,<:svp:plugin_info_actif:>})] [(#INCLURE{fond=prive/squelettes/inclure/cfg,script=configurer_#GET{prefixe},nom=#NOM})] ] [(#GET{verrou}) [(#CHEMIN_IMAGE{cadenas-16.png}|balise_img{<:svp:plugin_info_verrouille:>,picto_verrou}|inserer_attribut{title,<:svp:plugin_info_verrouille:>})] ] [(#MAJ_VERSION|oui|et{#AUTORISER{plugins_ajouter}|oui}|oui) [(#CHEMIN_IMAGE{update-16.png}|balise_img{<:svp:plugin_info_up:>,picto_up}|inserer_attribut{title,<:svp:plugin_info_up{version=#MAJ_VERSION}:>})] ] [(#OBSOLETE|=={oui}|ou{#GET{incompatible}}|ou{#ATTENTE|=={oui}}|oui) [(#SET{image,plugin-dis-16.png})] [(#OBSOLETE|=={oui}|oui) [(#SET{err, <:svp:info_plugin_obsolete:>})]] [(#GET{incompatible}|oui) [(#SET{err, <:svp:info_plugin_incompatible:>})]] [(#ATTENTE|=={oui}|oui) [(#SET{image, erreur-16.png})]] [(#CHEMIN_IMAGE{#GET{image}}|balise_img{#GET{err}, picto_err}|inserer_attribut{title, #GET{err}})] ][(#ENV{id_paquet}|=={#ID_PAQUET}|?{#SET{id_paquet,#ID_PAQUET},#SET{id_paquet,0}})] [(#INCLURE{fond=prive/squelettes/inclure/plugin_detail,id_paquet=#GET{id_paquet},ajax=detail_#ID_PAQUET,env})]
</BOUCLE_plugins>

</B_plugins>