Browse Source

idem pour le modele img

git-svn-id: svn://zone.spip.net/spip-zone/_plugins_/figure@103021 ac52e18a-acf5-0310-9fe8-c4428f23b10a
master
Mist. GraphX 6 years ago
parent
commit
f6ba98b230
  1. 4
      modeles/img.html

4
modeles/img.html

@ -36,7 +36,7 @@
(#REM) image complete ?
][(#GET{image})
<span class='spip_document_#ID_DOCUMENT spip_documents[ (#ENV{align})][ (#ENV{class})] spip_lien_ok'[
<span class='spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})] spip_lien_ok'[
style='float:(#ENV{align}|match{left|right});']>
[<a href="(#ENV{lien})"[ class="(#ENV{lien_class})"]>]<img src='#URL_DOCUMENT' alt="[(#TITRE|attribut_html)]"[ title="(#TITRE|attribut_html)"][ width="(#LARGEUR)"][ height="(#HAUTEUR)"]>[(#ENV{lien}|?{</a>})]</span>
][
@ -47,7 +47,7 @@
[(#SET{fichier,[(#LOGO_DOCUMENT|extraire_attribut{src})]})]
[(#SET{width,[(#LOGO_DOCUMENT|extraire_attribut{width})]})]
[(#SET{height,[(#LOGO_DOCUMENT|extraire_attribut{height})]})]
<span class='spip_document_#ID_DOCUMENT spip_documents[ (#ENV{align})][ (#ENV{class})] spip_lien_ok'[
<span class='spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})] spip_lien_ok'[
style='float:(#ENV{align}|match{left|right});[ width:(#GET{width})px;]']><a href="[(#ENV{lien}|sinon{#URL_DOCUMENT})]"[
(#ENV{lien}|?{'',type="#MIME_TYPE"})][ title="(#TITRE|attribut_html)"]><img src='#GET{fichier}' alt='[(#TITRE|strlen|?{#TITRE {#TYPE_DOCUMENT},#TYPE_DOCUMENT}|attribut_html)]' width='#GET{width}' height='#GET{height}'></a></span>
]</BOUCLE_document>
Loading…
Cancel
Save