]> git.mxchange.org Git - friendica.git/blob - view/templates/filebrowser.tpl
Merge pull request #8227 from annando/daemon-checks
[friendica.git] / view / templates / filebrowser.tpl
1 <!--
2         This is the template used by mod/fbrowser.php
3 -->
4 <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}" ></script>
5 <script type="text/javascript" src="{{$baseurl}}/view/js/filebrowser.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
6 <script>
7         $(function() {
8                 FileBrowser.init("{{$nickname}}", "{{$type}}");
9         });
10 </script>
11 <div class="fbrowser {{$type}}">
12         <div class="error hidden">
13                 <span></span> <a href="#" class='close'>X</a>
14         </div>
15
16         <div class="path">
17                 {{foreach $path as $p}}<a href="#" data-folder="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
18         </div>
19
20         {{if $folders }}
21         <div class="folders">
22                 <ul>
23                         {{foreach $folders as $f}}<li><a href="#" data-folder="{{$f.0}}">{{$f.1}}</a></li>{{/foreach}}
24                 </ul>
25         </div>
26         {{/if}}
27
28         <div class="list">
29                 {{foreach $files as $f}}
30                 <div class="photo-album-image-wrapper">
31                         <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}">
32                                 <img src="{{$f.2}}">
33                                 <p>{{$f.1}}</p>
34                         </a>
35                 </div>
36                 {{/foreach}}
37         </div>
38
39         <div class="upload">
40                 <button id="upload-{{$type}}"><img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> {{$upload}}</button>
41         </div>
42 </div>
43
44
45         </body>
46
47 </html>