From 7479c031532b0267de1e1d802818416d16d40af8 Mon Sep 17 00:00:00 2001 From: kent1 Date: Wed, 26 Jun 2013 14:59:28 +0200 Subject: [PATCH 1/3] Des bricoles --- geodiversite/geol_options.php | 1 + geodiversite/head_js/upload.html | 2 +- geodiversite/inclure/head.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/geodiversite/geol_options.php b/geodiversite/geol_options.php index ccd4d5b..2524d93 100755 --- a/geodiversite/geol_options.php +++ b/geodiversite/geol_options.php @@ -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); + ?> \ No newline at end of file diff --git a/geodiversite/head_js/upload.html b/geodiversite/head_js/upload.html index 5cc08c1..36a8e50 100755 --- a/geodiversite/head_js/upload.html +++ b/geodiversite/head_js/upload.html @@ -1,2 +1,2 @@ [(#REM) Feuille de style et javascript pour le formulaire d'upload] - \ No newline at end of file + \ No newline at end of file diff --git a/geodiversite/inclure/head.html b/geodiversite/inclure/head.html index 5fa02f2..e7d487f 100644 --- a/geodiversite/inclure/head.html +++ b/geodiversite/inclure/head.html @@ -8,7 +8,7 @@ [(#REM) Fierement fabrique avec SPIP ] - + [(#REM) Lien vers le flux RSS du site ] [] From cd446cf99f78a0bf5ce208001057905cfaf8dccf Mon Sep 17 00:00:00 2001 From: kent1 Date: Wed, 26 Jun 2013 15:20:31 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Ce=20n'est=20pas=20le=20comportement=20norm?= =?UTF-8?q?al=20mais=20je=20suis=20tomb=C3=A9=20sur=20un=20bug=20o=C3=B9?= =?UTF-8?q?=20une=20personne=20avait=20dans=20le=20priv=C3=A9=20mis=2050?= =?UTF-8?q?=20images=20=C3=A0=20un=20article=20qu'il=20avait=20oubli=C3=A9?= =?UTF-8?q?=20de=20passer=20en=20page=20unique.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On se retrouvait avec 50 fois le télécharger ce fichier, et 50 documents dans la série pointant vers la même url On limite à {0,1} --- geodiversite/inclure/media_partage.html | 2 +- geodiversite/inclure/media_serie.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/geodiversite/inclure/media_partage.html b/geodiversite/inclure/media_partage.html index d90f3b9..7782c74 100755 --- a/geodiversite/inclure/media_partage.html +++ b/geodiversite/inclure/media_partage.html @@ -12,7 +12,7 @@

<:geol:partage_telechargement:>

  • <:geol:licence_media:> : [(#INCLURE{fond=modeles/licence,id_article=#ID_ARTICLE,logo=non})]
  • ] -
  • +
  • <:geol:doc_telecharger:>
  • diff --git a/geodiversite/inclure/media_serie.html b/geodiversite/inclure/media_serie.html index ba8c04f..ca7ac3d 100755 --- a/geodiversite/inclure/media_serie.html +++ b/geodiversite/inclure/media_serie.html @@ -5,7 +5,7 @@

    <:geol:autres_medias:>

    #ANCRE_PAGINATION From 09bf6ce8f672ebb21fa33f82370085ab812daf5b Mon Sep 17 00:00:00 2001 From: kent1 Date: Thu, 27 Jun 2013 12:53:45 +0200 Subject: [PATCH 3/3] Un portfolio simple sur les articles page --- geodiversite/content/article-page.html | 8 ++---- geodiversite/geol.css.html | 1 + .../inclure/inc-documents-images.html | 25 +++++++++++++++++++ 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 geodiversite/inclure/inc-documents-images.html diff --git a/geodiversite/content/article-page.html b/geodiversite/content/article-page.html index 7809575..803a0ee 100755 --- a/geodiversite/content/article-page.html +++ b/geodiversite/content/article-page.html @@ -13,7 +13,6 @@

    #TITRE

    [(#REM) Inclure le modele des liens de traductions ] #MODELE{article_traductions} -
    @@ -28,11 +27,8 @@

    #TITRE

    [(#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})]
    [(#REM) Petition : diff --git a/geodiversite/geol.css.html b/geodiversite/geol.css.html index 5c18d91..617f07d 100755 --- a/geodiversite/geol.css.html +++ b/geodiversite/geol.css.html @@ -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 */ diff --git a/geodiversite/inclure/inc-documents-images.html b/geodiversite/inclure/inc-documents-images.html new file mode 100644 index 0000000..7b2beb6 --- /dev/null +++ b/geodiversite/inclure/inc-documents-images.html @@ -0,0 +1,25 @@ +
    + +
    +[(#INCLURE{fond=inclure/media_doc,id_document,id_article,largeur=560,hauteur=430,class=media,self=#SELF,modifier_echelle})] +[
    (#TITRE)
    ] +[
    (#DESCRIPTIF)
    ] +[
    (#CREDITS)
    ] +
    + + + + + +
    \ No newline at end of file