Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #17 from kent1D/master
Browse files Browse the repository at this point in the history
Principalement un portfolio d'images sur les articles simples
  • Loading branch information
brunob committed Jul 2, 2013
2 parents 37d2465 + faf0132 commit 22bbf3b
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 10 deletions.
8 changes: 2 additions & 6 deletions geodiversite/content/article-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ <h1 class="entry-title h1">#TITRE</h1>
</div>
[(#REM) Inclure le modele des liens de traductions ]
#MODELE{article_traductions}

</div>

<div class="surlignable">
Expand All @@ -28,11 +27,8 @@ <h1 class="entry-title h1">#TITRE</h1>
[(#REM) Gestion du portfolio et des documents
Le critere {env} permet de passer d'autres arguments de la page
par exemple l'id_document choisi pour un affichage complet

[(#INCLURE{fond=inc-documents-noflv}
{id_article}
{env}
)]]
]
[(#INCLURE{fond=inclure/inc-documents-images,id_article,ajax,env})]
</div>

[(#REM) Petition :
Expand Down
1 change: 1 addition & 0 deletions geodiversite/geol.css.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
.documents_annexes .documents_portfolio { text-align: left; }
.documents_annexes .documents_portfolio .liste-items .item { display: inline-block; text-align: center; }
.documents_annexes .documents_portfolio .spip_logos { border: 1px solid #aaa; padding: 4px; }
.documents_annexes .documents_portfolio .on .spip_logos { border: 3px solid #aaa; padding: 2px; }
.documents_annexes .documents_portfolio a { border: 0; }

/* Listes d'articles et extraits introductifs */
Expand Down
1 change: 1 addition & 0 deletions geodiversite/geol_options.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ function autoriser_modererforum($faire, $type, $id, $qui, $opt) {
define('_PAGE_PUBLIER','upload');
define('_DIOGENE_REDIRIGE_PUBLICATION',true);
define('_DIOGENE_MODIFIER_PUBLIC',false);


?>
2 changes: 1 addition & 1 deletion geodiversite/head_js/upload.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[(#REM) Feuille de style et javascript pour le formulaire d'upload]
<INCLURE{fond=head_js/publier}{env}>
<INCLURE{fond=head_js/publier,env}>
2 changes: 1 addition & 1 deletion geodiversite/inclure/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[(#REM) Fierement fabrique avec SPIP ]
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />

<meta name="viewport" content="width=device-width; initial-scale=1.0">
<meta name="viewport" content="initial-scale=1.0">

[(#REM) Lien vers le flux RSS du site ]
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />]
Expand Down
25 changes: 25 additions & 0 deletions geodiversite/inclure/inc-documents-images.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<div class="documents_annexes">
<BOUCLE_document_previsu(DOCUMENTS){id_article}{id_document}>
<div id="document_previsu">
[(#INCLURE{fond=inclure/media_doc,id_document,id_article,largeur=560,hauteur=430,class=media,self=#SELF,modifier_echelle})]
[<div class="titre #EDIT{titre}">(#TITRE)</div>]
[<div class="descriptif #EDIT{descriptif}">(#DESCRIPTIF)</div>]
[<div class="credits #EDIT{credits}">(#CREDITS)</div>]
</div>
</BOUCLE_document_previsu>

<B_doc>
<div class="liste documents documents_portfolio">
<ul class="liste-items">
<BOUCLE_doc(DOCUMENTS){id_article}{mode=document}{vu=non}>
<li class="item #EXPOSE">
<a href="[(#SELF|parametre_url{id_document,#ID_DOCUMENT}|ancre_url{document_previsu})]" type="#MIME_TYPE"
rel="documents_portfolio[-a(#ID_ARTICLE)][-r(#ID_RUBRIQUE)]" class="ajax">
[(#LOGO_DOCUMENT|image_passe_partout{#ENV{largeur,52},#ENV{hauteur,52}}|image_recadre{#ENV{largeur,52},#ENV{hauteur,52},center}|inserer_attribut{alt,[(#INFO_TITRE{#OBJET,#ID_OBJET}|texte_backend)]})]
</a>
</li>
</BOUCLE_doc>
</ul>
</div>
</B_doc>
</div>
2 changes: 1 addition & 1 deletion geodiversite/inclure/media_partage.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="h2"><span><:geol:partage_telechargement:></span></h2>
<li class="item">
<:geol:licence_media:> : [(#INCLURE{fond=modeles/licence,id_article=#ID_ARTICLE,logo=non})]
</li>]
<li class="item"><BOUCLE_doc(DOCUMENTS){id_article}>
<li class="item"><BOUCLE_doc(DOCUMENTS){id_article}{0,1}>
<a href="[(#URL_DOCUMENT|url_absolue)]" title="<:geol:doc_telecharger|texte_backend:>" class="telecharger"><:geol:doc_telecharger:></a></BOUCLE_doc>
</li>
<BOUCLE_nbfav(FAVORIS){id_objet=#ID_ARTICLE}{objet=article} />
Expand Down
2 changes: 1 addition & 1 deletion geodiversite/inclure/media_serie.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h2 class="h2"><span><:geol:autres_medias:></span></h2>
#ANCRE_PAGINATION
<ul class="liste-items">
[<li class="item pagination prev">(#PAGINATION{prev}|trim|sinon{<span class="lien_pagination off">&nbsp;</span>})</li>]
<BOUCLE_serie(ARTICLES){id_rubrique}{!par id_article}{pagination #ENV{pas_serie,5}}><li class="item[ (#EXPOSE)]"><a href="#URL_ARTICLE"[ title="(#TITRE|attribut_html)"]><BOUCLE_doc(DOCUMENTS){id_article}{mode=document}{vu=non}>[(#LOGO_DOCUMENT|image_passe_partout{#ENV{largeur,52},#ENV{hauteur,52}}|image_recadre{#ENV{largeur,52},#ENV{hauteur,52},center}|inserer_attribut{alt,[(#INFO_TITRE{#OBJET,#ID_OBJET}|texte_backend)]})]</BOUCLE_doc></a></li></BOUCLE_serie>
<BOUCLE_serie(ARTICLES){id_rubrique}{!par id_article}{pagination #ENV{pas_serie,5}}><li class="item[ (#EXPOSE)]"><a href="#URL_ARTICLE"[ title="(#TITRE|attribut_html)"]><BOUCLE_doc(DOCUMENTS){id_article}{0,1}{mode=document}{vu=non}>[(#LOGO_DOCUMENT|image_passe_partout{#ENV{largeur,52},#ENV{hauteur,52}}|image_recadre{#ENV{largeur,52},#ENV{hauteur,52},center}|inserer_attribut{alt,[(#INFO_TITRE{#OBJET,#ID_OBJET}|texte_backend)]})]</BOUCLE_doc></a></li></BOUCLE_serie>
[<li class="item pagination next">(#PAGINATION{next}|trim|sinon{<span class="lien_pagination off">&nbsp;</span>})</li>]
</ul>
</B_serie>
Expand Down

0 comments on commit 22bbf3b

Please sign in to comment.