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