[(#REM) Squelette (c) xxx Distribue sous licence GPL ] <BOUCLE_docslies(DOCUMENTS documents_liens types_documents){id_document}{id_objet}{objet}{statut?}> <div class="item #MODE vu_#VU statut_#STATUT[(#DISTANT|=={oui}|oui)distant]" id="doc#ID_DOCUMENT" data-id="#ID_DOCUMENT" onclick="jQuery(this).toggleClass('hover');"> <div class="presentation"> [<div class='vignette'>(#LOGO_DOCUMENT{#URL_DOCUMENT,150,150})</div>] <div class="descriptions wysiwyg"> <h4 class="titrem"> [(#VU|=={oui}|oui)<span class="vu"><img src='#CHEMIN_IMAGE{vu-16-10.svg}' width='16' height='10' alt='<:medias:document_vu|attribut_html:>' title='<:medias:document_vu:>'/></span> ] <span class="#EDIT{titre} titre" title="[(#FICHIER*|basename|attribut_html)]"> [(#TITRE|oui)#TITRE] [(#TITRE|non) <i class="sanstitre"><:info_sans_titre:></i> <span class="fichier">[(#FICHIER*|basename)]</span> ] </span> <span class="image_loading"></span> </h4> [<div class="descriptif [(#EDIT{descriptif})]">(#DESCRIPTIF|couper{100})</div>] <div class="infos"> <div class="permanentes"> [(#DISTANT|=={oui}|oui)[(#CHEMIN_IMAGE{distant-16.png}|balise_img{<:medias:fichier_distant:>}|inserer_attribut{title,<:medias:fichier_distant:>}) ]]<:info_numero_abbreviation:>#ID_DOCUMENT - #EXTENSION [(#LARGEUR|ou{#HAUTEUR}|et{#MEDIA|=={image}}) [- (#VAL{info_largeur_vignette}|_T{#ARRAY{largeur_vignette,#LARGEUR,hauteur_vignette,#HAUTEUR}})] ][(#MEDIA|in_array{#LISTE{audio,video}}|et{#DUREE|intval}|oui) - [(#DUREE|duree_en_secondes)] ] <button class="lien_details btn btn_mini btn_link" onClick="$(this).parent().next('.detaillees').toggle(); return true;" title="<:medias:details_document_afficher_masquer|attribut_html:>"><span class="icone-image">+</span> <:medias:details_document:></button> </div> <div class="detaillees"> [(#SET{data,[(#VAL{ <table class="compact"> <tr class="credits"> <th><:medias:label_credits:></th> <td class="[(#EDIT{credits})]">[(#CREDITS|sinon{<span class="vide">...</span>})]</td> </tr> [(#MEDIA|=={image}|oui) <tr class="alt"> <th><:medias:label_alt:></th> <td class="[(#EDIT{alt})]">[(#ALT|sinon{<span class="vide">...</span>})]</td> </tr>] [(#LARGEUR|ou{#HAUTEUR}|oui) <tr> <th><:medias:info_dimensions_image:></th> <td>[(#VAL{info_largeur_vignette}|_T{#ARRAY{largeur_vignette,#LARGEUR,hauteur_vignette,#HAUTEUR}})]</td> </tr> <tr> <th><:medias:info_resolution_image:></th> <td>[(#VAL{medias:info_resolution_mpx}|_T{#ARRAY{resolution,#LARGEUR|mult{#HAUTEUR}|div{1000000}|round{1}|number_format{1}}})]</td> </tr> ][(#DUREE|intval|oui) <tr> <th><:medias:info_duree:></th> <td>[(#DUREE|duree_en_secondes{precis})]</td> </tr>] <tr> <th><:medias:info_taille:></th> <td>[(#TAILLE|taille_en_octets)]</td> </tr> <tr> <th><:date:></th> <td>[(#DATE|affdate)]</td> </tr> <tr> <th><:medias:label_fichier:></th> <td>[(#FICHIER|basename)]</td> </tr> </table> })]})] [(#PIPELINE{afficher_metas_document,#ARRAY{args,#ARRAY{'quoi','document_desc','id_document',#ID_DOCUMENT},data,#GET{data}}})] </div> </div> <div class="actions"> <div class="groupe-btns groupe-btns_mini"> [(#INCLUS|affiche_bouton_mode_image_portfolio) <div class="mode"> [(#MODE|=={image}|oui)[(#BOUTON_ACTION{<:medias:upload_info_mode_document:>,#URL_ACTION_AUTEUR{changer_mode_document,#ID_DOCUMENT-document,#SELF},ajax})] ][(#MODE|=={image}|non)[(#BOUTON_ACTION{<:medias:upload_info_mode_image:>,#URL_ACTION_AUTEUR{changer_mode_document,#ID_DOCUMENT-image,#SELF},ajax})]] </div> ] <BOUCLE_compte(documents_liens){id_document}{0,2} /> [(#TOTAL_BOUCLE|=={1}|et{#VU|=={non}}|et{#AUTORISER{dissocierdocuments,#OBJET,#ID_OBJET}})[(#BOUTON_ACTION{<:medias:bouton_enlever_supprimer_document:>,#URL_ACTION_AUTEUR{dissocier_document,#ID_OBJET-#OBJET-#ID_DOCUMENT-suppr-safe,#SELF},ajax noscroll btn_secondaire,<:medias:bouton_enlever_supprimer_document_confirmation:>,'',[(function(){jQuery("#doc(#ID_DOCUMENT)").animateRemove();return true;})()]})]] <//B_compte> [(#VU|=={non}|et{#AUTORISER{dissocierdocuments,#OBJET,#ID_OBJET}})[(#BOUTON_ACTION{<:medias:bouton_enlever_document:>,#URL_ACTION_AUTEUR{dissocier_document,#ID_OBJET-#OBJET-#ID_DOCUMENT--safe,#SELF},ajax noscroll btn_secondaire,'','',[(function(){jQuery("#doc(#ID_DOCUMENT)").animateRemove();return true;})()]})]] </div> [(#AUTORISER{modifier,document,#ID_DOCUMENT}|oui) <div class="deplacer-modifier"> <span class="deplacer-document" data-rang="#RANG_LIEN"><img src='#CHEMIN_IMAGE{deplacer-16.png}' width='16' height='16' alt='<:medias:ordonner_ce_document|attribut_html:>' title='<:medias:ordonner_ce_document|attribut_html:>' /></span> <a href="[(#URL_ECRIRE{document_edit,id_document=#ID_DOCUMENT}|attribut_url)]" target="_blank" class="editbox btn btn_mini" tabindex="0" role="button"><:medias:bouton_modifier_document:></a> </div> ] [(#PIPELINE{document_desc_actions,#ARRAY{args,#ARRAY{id_document,#ID_DOCUMENT,position,document_desc,objet,#OBJET,id_objet,#ID_OBJET},data,''}})] </div> </div> </div> <div class="nettoyeur"></div> </div> </BOUCLE_docslies>