Dotclear

source: plugins/dlManager/trunk/default-templates/media_player.html @ 2044

Revision 2044, 5.0 KB checked in by Moe, 14 years ago (diff)

DL Manager 1.1.2 :

  • preview of images are now clickable (template file updated)
  • added help for the widget
  • switched to GPL v2 and updated license blocks
  • PHP 5.3 compatibility ?
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" 
4     lang="{{tpl:BlogLanguage}}">
5<head>
6  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7  <meta name="MSSmartTagsPreventParsing" content="TRUE" />
8  <meta name="robots" content="noindex, nofollow" />
9  <title>{{tpl:lang Download manager}} - {{tpl:DLMItemTitle}} - {{tpl:BlogName encode_html="1"}}</title>
10 
11  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
12  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
13
14  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" 
15     href="{{tpl:BlogFeedURL type="rss2"}}" />
16  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" 
17     href="{{tpl:BlogFeedURL type="atom"}}" />
18  <link rel="meta" type="application/xbel+xml" title="Blogroll" 
19     href="{{tpl:BlogrollXbelLink}}" />
20
21     <style type="text/css">
22          textarea {width:100%;}
23          dt {font-weight:bold;}
24     </style>
25 
26  {{tpl:include src="_head.html"}}
27</head>
28
29<body class="dc-dlmanager">
30<div id="page">
31{{tpl:include src="_top.html"}}
32
33<div id="wrapper">
34
35<div id="main">
36     <div id="content">
37
38<div class="content-inner">
39     <div id="content-info">
40          <h2>
41               {{tpl:lang Download manager}} - {{tpl:lang Preview}}
42          </h2>
43     </div>
44         
45     <tpl:SysIfFormError>
46          <div class="error">{{tpl:SysFormError}}</div>
47     </tpl:SysIfFormError>
48
49     <div id="dlmanager">
50          <p>
51               <a href="{{tpl:DLMBaseURL}}">{{tpl:lang Home}}</a> /
52               <!-- # loop on directory path, display dir / subdir -->
53               <tpl:DLMBreadCrumb>
54                    <a href="{{tpl:DLMBreadCrumbDirURL}}">
55                         {{tpl:DLMBreadCrumbDirName}}</a> /
56               </tpl:DLMBreadCrumb>
57               {{tpl:DLMItemBasename}}
58          </p>
59         
60          <p><a href="{{tpl:DLMItemDirPath}}">{{tpl:lang Get back to the directory}}</a></p>
61         
62          <div id="file">         
63               <div id="player">
64                    <tpl:DLMItemIf media_type="image">
65                         <a href="{{tpl:DLMItemDlURL}}" title="{{tpl:DLMItemBasename}}">
66                              <img src="{{tpl:DLMItemImageThumbPath size="m"}}" alt="{{tpl:DLMItemTitle}}" />
67                         </a>
68                    </tpl:DLMItemIf>
69                   
70                    <tpl:DLMItemIf type="audio/mpeg3">
71                         {{tpl:include src="_mp3_player.html"}}
72                    </tpl:DLMItemIf>
73                   
74                    <tpl:DLMItemIf operator="or" type="video/x-flv,video/mp4,video/x-m4v">
75                         {{tpl:include src="_flv_player.html"}}
76                    </tpl:DLMItemIf>
77                   
78                    <tpl:DLMItemIf type="application/zip">
79                         <h3>{{tpl:lang Zip file content}}</h3>
80                         <tpl:DLMItemZipContent>
81                              <tpl:LoopPosition start="1" length="1">
82                                   <ul>
83                              </tpl:LoopPosition>
84                              <li>{{tpl:DLMItemZipContentFile}}</li>
85                              <tpl:LoopPosition start="-1">
86                                   </ul>
87                              </tpl:LoopPosition>
88                         </tpl:DLMItemZipContent>
89                    </tpl:DLMItemIf>
90                   
91                    <tpl:DLMItemIf media_type="text">
92                              <textarea cols="80" rows="20">{{tpl:DLMItemFileContent}}</textarea>
93                    </tpl:DLMItemIf>
94               </div><!-- End #player -->
95               
96               <h3>
97                    <a href="{{tpl:DLMItemDlURL}}" title="{{tpl:DLMItemBasename}}">
98                         {{tpl:lang Download this file}}
99                    </a>
100               </h3>
101               
102               <h3>{{tpl:lang Informations}}</h3>
103               <dl>
104                    <dt>{{tpl:lang Basename}}</dt>
105                    <dd>{{tpl:DLMItemBasename}}</dd>
106                    <dt>{{tpl:lang Type}}</dt>
107                    <dd>{{tpl:DLMItemType}}</dd>
108                    <dt>{{tpl:lang Size}}</dt>
109                    <dd>{{tpl:DLMItemSize format="1"}}</dd>
110                    <dt>{{tpl:lang Modification time}}</dt>
111                    <!-- # date_format and time_format use blog settings,
112                         see http://php.net/strftime for other syntax -->
113                    <dd>{{tpl:DLMItemMTime format="date_format"}} {{tpl:DLMItemMTime format="time_format"}}</dd>
114                    <tpl:DLMIfDownloadCounter>
115                         <dt>{{tpl:lang Downloads}}</dt>
116                         <dd>{{tpl:DLMItemDlCount}}</dd>
117                    </tpl:DLMIfDownloadCounter>
118               </dl>
119               
120               <tpl:DLMItemIf media_type="image">
121                    <div id="imagemeta">
122                         <tpl:DLMItemImageMeta>
123                              <tpl:LoopPosition start="1" length="1">
124                                   <h3>{{tpl:lang Image meta}}</h3>
125                                   <dl>
126                              </tpl:LoopPosition>
127                              <dt>{{tpl:DLMItemImageMetaName}}</dt>
128                              <dd>{{tpl:DLMItemImageMetaValue}}</dd>
129                              <tpl:LoopPosition start="-1">
130                                   </dl>
131                              </tpl:LoopPosition>
132                         </tpl:DLMItemImageMeta>
133                    </div><!-- End #imagemeta -->
134               </tpl:DLMItemIf>
135               
136               <tpl:DLMItemEntries>
137                    <tpl:LoopPosition start="1" length="1">
138                         <h3>{{tpl:lang Entries containing this media}}</h3>
139                         <ul>
140                    </tpl:LoopPosition>
141                    <li>
142                         <a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}
143                         ({{tpl:EntryDate format="%d/%m/%Y"}})</a>
144                    </li>
145                    <tpl:LoopPosition start="-1">
146                         </ul>
147                    </tpl:LoopPosition>
148               </tpl:DLMItemEntries>
149          </div><!-- End #file -->
150     </div><!-- End #dlmanager -->
151
152</div><!-- End #content-inner -->
153 
154     </div><!-- End #content -->
155</div> <!-- End #main -->
156
157<div id="sidebar">
158  <div id="blognav">
159    {{tpl:Widgets type="nav"}}
160  </div> <!-- End #blognav -->
161 
162  <div id="blogextra">
163    {{tpl:Widgets type="extra"}}
164  </div> <!-- End #blogextra -->
165</div><!-- End #sidebar -->
166
167</div> <!-- End #wrapper -->
168
169{{tpl:include src="_footer.html"}}
170</div> <!-- End #page -->
171</body>
172</html>
Note: See TracBrowser for help on using the repository browser.

Sites map