]> git.mxchange.org Git - friendica.git/blob - view/templates/filebrowser.tpl
Remove album name bin2hex conversion in file browser
[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 $folder => $name}}
18                         <a href="#" data-folder="{{$folder}}">{{$name}}</a>
19                 {{/foreach}}
20         </div>
21
22         {{if $folders }}
23         <div class="folders">
24                 <ul>
25                 {{foreach $folders as $folder}}
26                         <li><a href="#" data-folder="{{$folder}}">{{$folder}}</a></li>
27                 {{/foreach}}
28                 </ul>
29         </div>
30         {{/if}}
31
32         <div class="list">
33                 {{foreach $files as $f}}
34                 <div class="photo-album-image-wrapper">
35                         <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}">
36                                 <img src="{{$f.2}}">
37                                 <p>{{$f.1}}</p>
38                         </a>
39                 </div>
40                 {{/foreach}}
41         </div>
42
43         <div class="upload">
44                 <button id="upload-{{$type}}"><img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> {{$upload}}</button>
45         </div>
46 </div>
47
48
49         </body>
50
51 </html>