]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/filebrowser.tpl
Merge branch 'master' of github.com:annando/friendica
[friendica.git] / view / theme / frio / 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}}/js/ajaxupload.js" ></script>*}}
8 {{*<script type="text/javascript" src="view/theme/frio/js/filebrowser.js"></script>*}}
9
10 <div class="fbrowser {{$type}}">
11         <input id="fb-nickname" type="hidden" name="type" value="{{$nickname}}" />
12         <input id="fb-type" type="hidden" name="type" value="{{$type}}" />
13
14         <div class="error hidden">
15                 <span></span> <a href="#" class='close'>X</a>
16         </div>
17
18         <div class="path">
19                 {{foreach $path as $p}}<a href="#" data-folder="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
20         </div>
21
22         {{if $folders }}
23         <div class="folders">
24                 <ul>
25                         {{foreach $folders as $f}}<li><a href="#" data-folder="{{$f.0}}">{{$f.1}}</a></li>{{/foreach}}
26                 </ul>
27         </div>
28         {{/if}}
29
30         <div class="list">
31                 {{foreach $files as $f}}
32                 <div class="photo-album-image-wrapper">
33                         <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}">
34                                 <img src="{{$f.2}}">
35                                 <p>{{$f.1}}</p>
36                         </a>
37                 </div>
38                 {{/foreach}}
39         </div>
40
41         <div class="upload">
42                 <button id="upload-{{$type}}"><img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait|escape:'html'}}" style="display: none;" /> {{"Upload"|t}}</button>
43         </div>
44 </div>
45
46 <script>
47     $(document).ready(function(){
48
49         });
50 </script>