Changeset 43994 in spip-zone


Ignore:
Timestamp:
Jan 30, 2011, 2:25:03 AM (9 years ago)
Author:
patfr@…
Message:

Inclure le titre et le descriptif dans la gestion de la largeur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/Lecteur_multimedia/modeles/doc_player.html

    r43993 r43994  
    1919<BOUCLE_doc (DOCUMENTS) {id_document}{tout}>
    2020#SET{player,#ENV{player,#CONFIG{player,'neoplayer'}}}
    21 
    22 
     21[(#GET{player}|=={pixplayer}|?{' ',''})#SET{my_width,#ENV{width,290}}]
     22[(#GET{player}|=={neoplayer}|?{' ',''})#SET{my_width,#ENV{width,200}}]
     23[(#GET{player}|=={dewplayer}|?{' ',''})#SET{my_width,#ENV{width,200}}]
     24[(#GET{player}|=={eraplayer}|?{' ',''})#SET{my_width,#ENV{width,20}}]
    2325[<!--(#REM)
    2426
     
    3436})]
    3537[
    36 <dt class='spip_doc_titre #EDIT{titre}'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120})px;']><strong>(#TITRE)</strong></dt>][
    37 <dd class='spip_doc_descriptif #EDIT{descriptif}'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120})px;']>(#DESCRIPTIF|PtoBR)[(#NOTES|PtoBR)]</dd>]
     38<dt class='spip_doc_titre #EDIT{titre}'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120,[(#GET{my_width})]})px;']><strong>(#TITRE)</strong></dt>][
     39<dd class='spip_doc_descriptif #EDIT{descriptif}'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120,[(#GET{my_width})]})px;']>(#DESCRIPTIF|PtoBR)[(#NOTES|PtoBR)]</dd>]
    3840[(#GET{player}|=={pixplayer}|?{' ',''})
    3941[<!--(#REM)
     
    4244       
    4345-->]
    44 #SET{my_width,#ENV{width,290}}
    4546<dd class='spip_doc_descriptif'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120,[(#GET{my_width})]})px;']>
    4647<object type='application/x-shockwave-flash' data='#CHEMIN{flash/pixplayer.swf}' id='audioplayer#ID_DOCUMENT' height='[(#ENV{height,24})]' width='[(#GET{my_width})]'>
     
    5960</script></dd>
    6061][(#GET{player}|=={neoplayer}|?{' ',''})
    61 #SET{my_width,#ENV{width,200}}
    6262<dd class='spip_doc_descriptif'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120,[(#GET{my_width})]})px;']>
    6363<object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="#CHEMIN{flash/neoplayer_maxi.swf}" height="[(#ENV{height,20})]" width="[(#GET{my_width})]">
     
    6868</object></dd>
    6969][(#GET{player}|=={dewplayer}|?{' ',''})
    70 #SET{my_width,#ENV{width,200}}
    7170<dd class='spip_doc_descriptif'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120,[(#GET{my_width})]})px;']>
    7271<object type="application/x-shockwave-flash" data="#CHEMIN{flash/dewplayer.swf}" height="[(#ENV{height,20})]" width="[(#GET{my_width})]">
     
    7776</object></dd>
    7877][(#GET{player}|=={eraplayer}|?{' ',''})
    79 #SET{my_width,#ENV{width,20}}
    8078<dd class='spip_doc_descriptif'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{20,[(#GET{my_width})]})px;']>
    8179<object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="#CHEMIN{flash/eraplayer.swf}" height="[(#ENV{height,20})]" width="[(#GET{my_width})]">
Note: See TracChangeset for help on using the changeset viewer.