Dotclear


Ignore:
Timestamp:
02/11/16 15:35:39 (10 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
  • plugins/pages/default-templates/mustek/page.html

    r3017 r3167  
    3737          </tpl:AttachmentsHeader> 
    3838                         <li class="{{tpl:AttachmentType}}"> 
    39           <tpl:AttachmentIf is_mp3="1"> 
    40                          {{tpl:include src="_mp3_player.html"}} - 
    41           </tpl:AttachmentIf> 
    42           <tpl:AttachmentIf is_flv="1"> 
    43                          {{tpl:include src="_flv_player.html"}} 
    44           </tpl:AttachmentIf> 
    45           <tpl:AttachmentIf is_flv="0"> 
     39                    <tpl:AttachmentIf is_audio="1"> 
     40                         {{tpl:include src="_audio_player.html"}} 
     41                    </tpl:AttachmentIf> 
     42                    <tpl:AttachmentIf is_video="1"> 
     43                         <tpl:AttachmentIf is_flv="0"> 
     44                              {{tpl:include src="_video_player.html"}} 
     45                         {{tpl:else}} 
     46                              {{tpl:include src="_flv_player.html"}} 
     47                         </tpl:AttachmentIf> 
     48                    </tpl:AttachmentIf> 
     49                    <tpl:AttachmentIf is_audio="0" is_video="0"> 
    4650                         <a href="{{tpl:AttachmentURL}}" 
    47                          title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
    48           </tpl:AttachmentIf> 
     51                              title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
     52                    </tpl:AttachmentIf> 
    4953                         </li> 
    5054          <tpl:AttachmentsFooter> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map