Browse Source

les images ont ete factorisees dans images/

3.0
cedric@yterium.com 12 years ago
parent
commit
6f38dc84df
  1. 6
      formulaires/editer_document.html
  2. 6
      modeles/document_case.html
  3. 8
      modeles/document_desc.html
  4. 2
      plugin.xml
  5. 2
      prive/inc-ajouter-documents.html
  6. 4
      prive/inc-galerie.html

6
formulaires/editer_document.html

@ -40,9 +40,9 @@
<label><:medias:label_apercu:></label>
[(#ENV{apercu}|oui)
<div class="tourner">
<input class="image" type="image" name="tournerL90" src="#CHEMIN{img_pack/tourner-gauche.gif}" alt="<:medias:tourner_90L:>" />
<input class="image" type="image" name="tournerR90" src="#CHEMIN{img_pack/tourner-droite.gif}" alt="<:medias:tourner_90R:>" />
<input class="image" type="image" name="tourner180" src="#CHEMIN{img_pack/tourner-180.gif}" alt="<:medias:tourner_180:>" />
<input class="image" type="image" name="tournerL90" src="#CHEMIN{images/tourner-gauche.gif}" alt="<:medias:tourner_90L:>" />
<input class="image" type="image" name="tournerR90" src="#CHEMIN{images/tourner-droite.gif}" alt="<:medias:tourner_90R:>" />
<input class="image" type="image" name="tourner180" src="#CHEMIN{images/tourner-180.gif}" alt="<:medias:tourner_180:>" />
</div>
[<a href='#ENV{apercu}'>(#ENV{apercu}|image_reduire{300,200})</a>]
]

6
modeles/document_case.html

@ -16,9 +16,9 @@
<div class="infos">
[(#EXTENSION|match{gif|png|jpg}|oui) #SET{id,#ID_VIGNETTE|?{#ID_VIGNETTE,#ID_DOCUMENT}}
<div class="tourner">
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-gauche.gif}|balise_img{<:medias:tourner_90L:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',-90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-droite.gif}|balise_img{<:medias:tourner_90R:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-180.gif}|balise_img{<:medias:tourner_180:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',180'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-gauche.gif}|balise_img{<:medias:tourner_90L:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',-90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-droite.gif}|balise_img{<:medias:tourner_90R:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-180.gif}|balise_img{<:medias:tourner_180:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',180'},#SELF},ajax})]
</div>]
[(#LOGO_DOCUMENT{#URL_DOCUMENT})]
<BOUCLE_type_doc(TYPES_DOCUMENTS){extension}>

8
modeles/document_desc.html

@ -10,9 +10,9 @@
<div class="item #MODE vu_#VU statut_#STATUT[(#DISTANT|=={oui}|oui)distant]" id="doc#ID_DOCUMENT">
[(#EXTENSION|match{gif|png|jpg}|oui) #SET{id,#ID_VIGNETTE|?{#ID_VIGNETTE,#ID_DOCUMENT}}
<div class="tourner">
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-gauche.gif}|balise_img{<:medias:tourner_90L:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',-90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-droite.gif}|balise_img{<:medias:tourner_90R:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{img_pack/tourner-180.gif}|balise_img{<:medias:tourner_180:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',180'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-gauche.gif}|balise_img{<:medias:tourner_90L:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',-90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-droite.gif}|balise_img{<:medias:tourner_90R:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',90'},#SELF},ajax})]
[(#BOUTON_ACTION{[(#CHEMIN{images/tourner-180.gif}|balise_img{<:medias:tourner_180:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',180'},#SELF},ajax})]
</div>]
[(#LOGO_DOCUMENT{#URL_DOCUMENT,60,60})]
<h4 class="titrem">
@ -22,7 +22,7 @@
<span class="image_loading"></span>
</h4>
<div class="infos">
[(#DISTANT|=={oui}|oui)<img src='#CHEMIN{img_pack/distant-16.png}' width='16' height='16' alt='<:medias:fichier_distant:>' title='<:medias:fichier_distant:>'/> ]<:info_numero_abbreviation:>#ID_DOCUMENT - #EXTENSION - [(#TAILLE|taille_en_octets)]
[(#DISTANT|=={oui}|oui)<img src='#CHEMIN{images/distant-16.png}' width='16' height='16' alt='<:medias:fichier_distant:>' title='<:medias:fichier_distant:>'/> ]<:info_numero_abbreviation:>#ID_DOCUMENT - #EXTENSION - [(#TAILLE|taille_en_octets)]
</div>
[<div class="mode">(#INCLUS|=={image}|et{#EVAL{_BOUTON_MODE_IMAGE}}|oui)
[(#MODE|=={image}|oui)

2
plugin.xml

@ -1,7 +1,7 @@
<plugin>
<nom>Medias</nom>
<auteur>Collectif SPIP, Cedric Morin &amp; Romy Duhem-Verdiere pour la mediatheque</auteur>
<icon>img_pack/portfolio-64.png</icon>
<icon>images/portfolio-64.png</icon>
<version>1.6.0</version>
<version_base>0.10.0</version_base>
<etat>dev</etat>

2
prive/inc-ajouter-documents.html

@ -1,6 +1,6 @@
[(#ENV{ajouter}|=={oui}|oui)
<div class='nettoyeur'></div>
<a href='[(#SELF|parametre_url{ajouter,non})]' class='ajax bouton_fermer'>[(#CHEMIN{img_pack/frame-close.png}|balise_img)]</a>
<a href='[(#SELF|parametre_url{ajouter,non})]' class='ajax bouton_fermer'>[(#CHEMIN{images/frame-close.png}|balise_img)]</a>
#FORMULAIRE_JOINDRE_DOCUMENT{new,#ENV{id_objet,0},#ENV{objet,''}}
<div class='nettoyeur'></div>
]

4
prive/inc-galerie.html

@ -67,8 +67,8 @@
<h2>[(#GRAND_TOTAL|singulier_ou_pluriel{#VAL{medias:un_}|concat{#ENV{media,document}},#VAL{medias:des_}|concat{#ENV{media,document},s}})]</h2>
<div class='pagination tri'>
[(#TRI{'<',#CHEMIN{img_pack/tri_asc-16.png}|balise_img{<:medias:par_tri_croissant:>}}) |]
[(#TRI{'>',#CHEMIN{img_pack/tri_desc-16.png}|balise_img{<:medias:par_tri_decroissant:>}}) |]
[(#TRI{'<',#CHEMIN{images/tri_asc-16.png}|balise_img{<:medias:par_tri_croissant:>}}) |]
[(#TRI{'>',#CHEMIN{images/tri_desc-16.png}|balise_img{<:medias:par_tri_decroissant:>}}) |]
[(#TRI{id_document,<:medias:par_id:>}) |]
[(#TRI{date,<:medias:par_date:>}) |]
[(#TRI{taille,<:medias:par_taille:>}) |]

Loading…
Cancel
Save