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:DLMCurrentDir}} - {{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 | .center {text-align:center;} |
---|
23 | .size {white-space:pre;} |
---|
24 | .number {text-align:right;} |
---|
25 | dt {font-weight:bold;} |
---|
26 | </style> |
---|
27 | |
---|
28 | <link rel="stylesheet" href="{{tpl:BlogQmarkURL}}pf=dlManager/css/dlmanager_facebox.css" type="text/css" media="screen" /> |
---|
29 | |
---|
30 | {{tpl:include src="_head.html"}} |
---|
31 | |
---|
32 | <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=dlManager/js/facebox.pack.js"></script> |
---|
33 | |
---|
34 | <script type="text/javascript"> |
---|
35 | //<![CDATA[ |
---|
36 | $(document).ready(function () { |
---|
37 | $.facebox.settings.opacity = 0.3; |
---|
38 | $.facebox.settings.loadingImage = '{{tpl:BlogQmarkURL}}pf=dlManager/images/facebox/loading.gif'; |
---|
39 | $.facebox.settings.closeImage = '{{tpl:BlogQmarkURL}}pf=dlManager/images/facebox/closelabel.gif'; |
---|
40 | $('a.preview').click(function () { |
---|
41 | $.get($(this).attr('href'), function(data) { |
---|
42 | data = $(data).find('#file'); |
---|
43 | var imagemeta = $(data).children('#imagemeta'); |
---|
44 | /* http://forum.dotclear.net/viewtopic.php?pid=233757#p233757 */ |
---|
45 | var link = $('<a href="#">' + imagemeta.find('h3:first').text() + '</a>').click(function() { |
---|
46 | imagemeta.find('dl:first').show(200); |
---|
47 | $(this).parent().html($(this).text()); |
---|
48 | return false; |
---|
49 | }); |
---|
50 | imagemeta.find('h3:first').empty().append(link); |
---|
51 | imagemeta.find('dl:first').hide(); |
---|
52 | $.facebox(data); |
---|
53 | }); |
---|
54 | return(false); |
---|
55 | }); |
---|
56 | }); |
---|
57 | //]]> |
---|
58 | </script> |
---|
59 | </head> |
---|
60 | |
---|
61 | <body class="dc-dlmanager"> |
---|
62 | <div id="page"> |
---|
63 | {{tpl:include src="_top.html"}} |
---|
64 | |
---|
65 | <div id="wrapper"> |
---|
66 | |
---|
67 | <div id="main"> |
---|
68 | <div id="content"> |
---|
69 | |
---|
70 | <div class="content-inner"> |
---|
71 | <div id="content-info"> |
---|
72 | <h2> |
---|
73 | {{tpl:lang Download manager}} |
---|
74 | </h2> |
---|
75 | </div> |
---|
76 | |
---|
77 | <tpl:SysIfFormError> |
---|
78 | <div class="error">{{tpl:SysFormError}}</div> |
---|
79 | </tpl:SysIfFormError> |
---|
80 | |
---|
81 | <div id="dlmanager"> |
---|
82 | <p> |
---|
83 | <a href="{{tpl:DLMBaseURL}}">{{tpl:lang Home}}</a> / |
---|
84 | <!-- # loop on directory path, display dir / subdir --> |
---|
85 | <tpl:DLMBreadCrumb> |
---|
86 | <a href="{{tpl:DLMBreadCrumbDirURL}}"> |
---|
87 | {{tpl:DLMBreadCrumbDirName}}</a> / |
---|
88 | </tpl:DLMBreadCrumb> |
---|
89 | </p> |
---|
90 | |
---|
91 | <!-- #<h3>{{tpl:lang Directories}}</h3> |
---|
92 | |
---|
93 | <tpl:DLMIfNoItem type="dirs"> |
---|
94 | <p>{{tpl:lang No directory.}}</p> |
---|
95 | </tpl:DLMIfNoItem>--> |
---|
96 | |
---|
97 | <tpl:DLMItems type="dirs"> |
---|
98 | <tpl:LoopPosition start="1" length="1"> |
---|
99 | <h3>{{tpl:lang Directories}}</h3> |
---|
100 | <ul id="dlmanager-dirs"> |
---|
101 | </tpl:LoopPosition> |
---|
102 | <li><a href="{{tpl:DLMItemDirPath}}"> |
---|
103 | {{tpl:DLMItemBasename}}</a></li> |
---|
104 | <tpl:LoopPosition start="-1"> |
---|
105 | </ul> |
---|
106 | </tpl:LoopPosition> |
---|
107 | </tpl:DLMItems> |
---|
108 | |
---|
109 | <!-- #<h3>{{tpl:lang Files}}</h3> |
---|
110 | |
---|
111 | <tpl:DLMIfSortIsEnabled> |
---|
112 | <form method="post" action="{{tpl:SysSelfURI}}"> |
---|
113 | <p> |
---|
114 | {{tpl:lang Sort files:}} |
---|
115 | {{tpl:DLMFileSortOptions}} |
---|
116 | <input class="submit" type="submit" value="ok" /> |
---|
117 | </p> |
---|
118 | </form> |
---|
119 | </tpl:DLMIfSortIsEnabled> |
---|
120 | |
---|
121 | <tpl:DLMIfNoItem type="files"> |
---|
122 | <p>{{tpl:lang No file.}}</p> |
---|
123 | </tpl:DLMIfNoItem>--> |
---|
124 | |
---|
125 | <tpl:DLMItems type="files"> |
---|
126 | <tpl:LoopPosition start="1" length="1"> |
---|
127 | <h3>{{tpl:lang Files}}</h3> |
---|
128 | |
---|
129 | <tpl:DLMIfSortIsEnabled> |
---|
130 | <form method="post" action="{{tpl:SysSelfURI}}"> |
---|
131 | <p> |
---|
132 | {{tpl:lang Sort files:}} |
---|
133 | {{tpl:DLMFileSortOptions}} |
---|
134 | <input class="submit" type="submit" value="ok" /> |
---|
135 | </p> |
---|
136 | </form> |
---|
137 | </tpl:DLMIfSortIsEnabled> |
---|
138 | |
---|
139 | <tpl:DLMIfPages> |
---|
140 | <p>{{tpl:lang Page(s):}} {{tpl:DLMPageLinks}}</p> |
---|
141 | </tpl:DLMIfPages> |
---|
142 | |
---|
143 | <table rules="rows" id="dlmanager-files"> |
---|
144 | <thead> |
---|
145 | <tr> |
---|
146 | <th>{{tpl:lang Type}}</th> |
---|
147 | <th title="{{tpl:lang Basename}} - {{tpl:lang Extension}}"> |
---|
148 | {{tpl:lang File}} |
---|
149 | </th> |
---|
150 | <th>{{tpl:lang Preview}}</th> |
---|
151 | <th>{{tpl:lang Size}}</th> |
---|
152 | <!-- #<th>{{tpl:lang Type}}</th>--> |
---|
153 | <!-- #<th>{{tpl:lang Media type}}</th>--> |
---|
154 | <!-- #<th>{{tpl:lang Extension}}</th>--> |
---|
155 | <th>{{tpl:lang Modification time}}</th> |
---|
156 | <tpl:DLMIfDownloadCounter> |
---|
157 | <th>{{tpl:lang Downloads}}</th> |
---|
158 | </tpl:DLMIfDownloadCounter> |
---|
159 | </tr> |
---|
160 | </thead> |
---|
161 | <tbody> |
---|
162 | </tpl:LoopPosition> |
---|
163 | <tr class="{{tpl:DLMItemMediaType}}"> |
---|
164 | <td><img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/media/{{tpl:DLMItemMediaType}}.png" |
---|
165 | width="48" height="48" title="{{tpl:DLMItemMediaType}}" alt="{{tpl:DLMItemMediaType}}" /></td> |
---|
166 | <td> |
---|
167 | <a href="{{tpl:DLMItemDlURL}}" title="{{tpl:DLMItemBasename}}"> |
---|
168 | {{tpl:DLMItemTitle}} |
---|
169 | </a> |
---|
170 | </td> |
---|
171 | <td class="center"> |
---|
172 | <a href="{{tpl:DLMItemPlayerURL}}" class="preview" title="{{tpl:lang Preview:}} {{tpl:DLMItemBasename}}"> |
---|
173 | <!-- # image files --> |
---|
174 | <tpl:DLMItemIf media_type="image"> |
---|
175 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/image.png" alt="{{tpl:lang Preview}}" /> |
---|
176 | </tpl:DLMItemIf> |
---|
177 | <!-- # mp3 files --> |
---|
178 | <tpl:DLMItemIf type="audio/mpeg3"> |
---|
179 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/music.png" alt="{{tpl:lang Preview}}" /> |
---|
180 | </tpl:DLMItemIf> |
---|
181 | <!-- # flv, mp4 and m4v files --> |
---|
182 | <tpl:DLMItemIf operator="or" type="video/x-flv,video/mp4,video/x-m4v"> |
---|
183 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/film.png" alt="{{tpl:lang Preview}}" /> |
---|
184 | </tpl:DLMItemIf> |
---|
185 | <!-- # zip files --> |
---|
186 | <tpl:DLMItemIf type="application/zip"> |
---|
187 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/briefcase.png" alt="{{tpl:lang Preview}}" /> |
---|
188 | </tpl:DLMItemIf> |
---|
189 | <!-- # text files --> |
---|
190 | <tpl:DLMItemIf media_type="text"> |
---|
191 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/page_white_text.png" alt="{{tpl:lang Preview}}" /> |
---|
192 | </tpl:DLMItemIf> |
---|
193 | <!-- # other files --> |
---|
194 | <tpl:DLMItemIf operator="&&" media_type="!image,text" type="!audio/mpeg3,video/x-flv,video/mp4,video/x-m4v,application/zip"> |
---|
195 | <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/information.png" alt="{{tpl:lang Informations}}" /> |
---|
196 | </tpl:DLMItemIf> |
---|
197 | </a> |
---|
198 | </td> |
---|
199 | <td class="size">{{tpl:DLMItemSize format="1"}}</td> |
---|
200 | <!-- #<td>{{tpl:DLMItemType}}</td> return "text/plain" --> |
---|
201 | <!-- #<td>{{tpl:DLMItemMediaType}}</td> return "text" --> |
---|
202 | <!-- #<td>{{tpl:DLMItemExtension}}</td> return "txt" --> |
---|
203 | <!-- # date_format and time_format use blog settings, |
---|
204 | see http://php.net/strftime for other syntax --> |
---|
205 | <td>{{tpl:DLMItemMTime format="date_format"}} {{tpl:DLMItemMTime format="time_format"}}</td> |
---|
206 | <tpl:DLMIfDownloadCounter> |
---|
207 | <td class="number">{{tpl:DLMItemDlCount}}</td> |
---|
208 | </tpl:DLMIfDownloadCounter> |
---|
209 | </tr> |
---|
210 | <tpl:LoopPosition start="-1"> |
---|
211 | </tbody> |
---|
212 | </table> |
---|
213 | <tpl:DLMIfPages> |
---|
214 | <p>{{tpl:lang Page(s):}} {{tpl:DLMPageLinks}}</p> |
---|
215 | </tpl:DLMIfPages> |
---|
216 | </tpl:LoopPosition> |
---|
217 | </tpl:DLMItems> |
---|
218 | </div><!-- End #dlmanager --> |
---|
219 | |
---|
220 | </div><!-- End #content-inner --> |
---|
221 | |
---|
222 | </div><!-- End #content --> |
---|
223 | </div> <!-- End #main --> |
---|
224 | |
---|
225 | <div id="sidebar"> |
---|
226 | <div id="blognav"> |
---|
227 | {{tpl:Widgets type="nav"}} |
---|
228 | </div> <!-- End #blognav --> |
---|
229 | |
---|
230 | <div id="blogextra"> |
---|
231 | {{tpl:Widgets type="extra"}} |
---|
232 | </div> <!-- End #blogextra --> |
---|
233 | </div><!-- End #sidebar --> |
---|
234 | |
---|
235 | </div> <!-- End #wrapper --> |
---|
236 | |
---|
237 | {{tpl:include src="_footer.html"}} |
---|
238 | </div> <!-- End #page --> |
---|
239 | </body> |
---|
240 | </html> |
---|