Changeset 87050 in spip-zone for _plugins_/albums


Ignore:
Timestamp:
Jan 9, 2015, 2:20:08 PM (4 years ago)
Author:
tcharlss@…
Message:

Sur la fiche d'un album, afficher plus de document à la fois (pagination).

Location:
_plugins_/albums/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/albums/trunk/albums_pipelines.php

    r87048 r87050  
    6767                AND !autoriser('joindredocument',$type,$id)
    6868        ) {
    69                 $texte .= recuperer_fond('prive/squelettes/inclure/documents_album', array('id_album' => $id));
     69                $texte .= recuperer_fond('prive/squelettes/inclure/documents_album', array('id_album' => $id, 'pagination_documents'=>30));
    7070        }
    7171
  • _plugins_/albums/trunk/prive/objets/contenu/portfolio_document.html

    r83858 r87050  
    1212
    1313][(#ENV{objet}|=={album}|oui)
    14 [(#INCLURE{fond=prive/squelettes/inclure/documents_album, env, id_album=#ENV{id_objet}, ajax=#VAL{documents-album}|concat{#ENV{id_objet}}})<br>]
     14[(#INCLURE{fond=prive/squelettes/inclure/documents_album, env, id_album=#ENV{id_objet}, ajax=#VAL{documents-album}|concat{#ENV{id_objet}}, pagination_documents=30})<br>]
    1515<script type="text/javascript">/*<!\[CDATA\[*/
    1616var multifile='[(#CHEMIN{javascript/jquery.multifile.js}|texte_script)]';
  • _plugins_/albums/trunk/prive/squelettes/inclure/documents_album.html

    r86823 r87050  
    2222        <B_documents_album>
    2323        #ANCRE_PAGINATION
    24         <BOUCLE_documents_album(DOCUMENTS documents_liens types_documents){id_album}{!par media,id_document,extension,date}{tout}{pagination #ENV{pagination_documents,10} album#ID_ALBUM}>
     24        <BOUCLE_documents_album(DOCUMENTS documents_liens types_documents){id_album}{!par media,id_document,extension,date}{tout}{pagination #ENV{pagination_documents,10} #VAL{album}|concat{#ID_ALBUM}}>
    2525        [(#INCLURE{fond=prive/squelettes/inclure/document_album, id_document, id_album, editable=#GET{editable}})]
    2626        </BOUCLE_documents_album>
Note: See TracChangeset for help on using the changeset viewer.