Dotclear


Ignore:
Timestamp:
02/11/16 15:35:39 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with sort of "un-attached" media → allows new features as "featured media" plugin. Video and Audio HTML5 element are now used (if possible) rather than Flash object for attachments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/mustek/post.html

    r3017 r3167  
    100100          </tpl:AttachmentsHeader> 
    101101               <li class="{{tpl:AttachmentType}}"> 
    102                     <tpl:AttachmentIf is_mp3="1"> 
    103                          {{tpl:include src="_mp3_player.html"}} - 
     102                    <tpl:AttachmentIf is_audio="1"> 
     103                         {{tpl:include src="_audio_player.html"}} 
    104104                    </tpl:AttachmentIf> 
    105                     <tpl:AttachmentIf is_flv="1"> 
    106                 {{tpl:include src="_flv_player.html"}} 
    107            </tpl:AttachmentIf> 
    108            <tpl:AttachmentIf is_flv="0"> 
     105                    <tpl:AttachmentIf is_video="1"> 
     106                         <tpl:AttachmentIf is_flv="0"> 
     107                              {{tpl:include src="_video_player.html"}} 
     108                         {{tpl:else}} 
     109                              {{tpl:include src="_flv_player.html"}} 
     110                         </tpl:AttachmentIf> 
     111                    </tpl:AttachmentIf> 
     112           <tpl:AttachmentIf is_audio="0" is_video="0"> 
    109113               <a href="{{tpl:AttachmentURL}}" 
    110114          title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map