Dotclear

Changeset 3958:5e250cd51362 for themes


Ignore:
Timestamp:
02/20/19 14:35:05 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

No more Flash player (flv, mp3) in Dotclear \o/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/tpl/_simple-entry.html

    r2566 r3958  
    4747     </tpl:AttachmentsHeader> 
    4848                    <li class="{{tpl:AttachmentType}}"> 
    49                          <tpl:AttachmentIf is_mp3="1"> 
    50                               {{tpl:include src="_mp3_player.html"/}} - 
    51                          </tpl:AttachmentIf> 
    52                          <tpl:AttachmentIf is_flv="1"> 
    53                               {{tpl:include src="_flv_player.html"/}} 
    54                          </tpl:AttachmentIf> 
    55                          <tpl:AttachmentIf is_flv="0"> 
    56                               <a href="{{tpl:AttachmentURL}}" 
    57                               title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
    58                          </tpl:AttachmentIf> 
     49          <tpl:AttachmentIf is_audio="1"> 
     50            {{tpl:include src="_audio_player.html"}} 
     51          </tpl:AttachmentIf> 
     52          <tpl:AttachmentIf is_video="1"> 
     53            {{tpl:include src="_video_player.html"}} 
     54          </tpl:AttachmentIf> 
     55          <tpl:AttachmentIf is_audio="0" is_video="0"> 
     56             <a href="{{tpl:AttachmentURL}}" 
     57      title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
     58          </tpl:AttachmentIf> 
    5959                    </li> 
    6060     <tpl:AttachmentsFooter> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map