source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/galeries/diaporama-article-flash.html @ 84

Last change on this file since 84 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1<BOUCLE_recup(ARTICLES){id_article}><B_lesdocs><div id="cadre-slideshow" class="listagebloc">
2<h2><:diaporama:></h2>
3
4<INCLURE{fond=inc-rotatorplaylist}{id_article}{conteneur=#ENV{conteneur}}>
5
6<?php
7$parametre="[(#REM|sinon{flashdiaporama}|trouveintheme{'transition=fade&amp;shownavigation=true&amp;overstrech=true&amp;shuffle=false|160'})]";
8$parametres=explode("|", $parametre);
9$largeur=trim("[(#ENV{conteneur}|=={'1'}|?{' ',''})#LARGEUR_CONTEXTE1][(#ENV{conteneur}|=={'2'}|?{' ',''})#LARGEUR_CONTEXTE2][(#ENV{conteneur}|=={'3'}|?{' ',''})#LARGEUR_CORPS]");
10?>
11
12<ul class="listageconteneur">
13<BOUCLE_lesdocs(DOCUMENTS){id_article}{mode=document}{extension==gif|png|jpg}{0,1}>
14<li id="player">
15<embed 
16type="application/x-shockwave-flash" 
17src="#CHEMIN{swf/imagerotator.swf}" style="" id="rotator" name="rotator" quality="high" flashvars="file=#CHEMIN{swf/playlistima.xml}&amp;<?php echo $parametres[0]; ?>" 
18height="<?php echo $parametres[1]; ?>" 
19width="<?php echo $largeur; ?>">
20</li>
21</BOUCLE_lesdocs>
22</li></ul></div>
23</B_lesdocs></BOUCLE_recup>
Note: See TracBrowser for help on using the repository browser.