]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/filebrowser_plain.tpl
Merge branch 'master' of ../save/merge/frio into frio_merge
[friendica.git] / view / theme / frio / templates / filebrowser_plain.tpl
1         <!--
2                 This is the template used by mod/fbrowser.php when is called from plain text editor.
3                 See also 'filebrowser.tpl'
4         -->
5 <style>
6         #buglink_wrapper{display:none;} /* hide buglink. only in this page */
7 </style>
8 {{*<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script>*}}
9 {{*<script type="text/javascript" src="view/theme/frio/js/filebrowser.js"></script>*}}
10
11 <div class="fbrowser {{$type}}">
12         <input id="fb-nickname" type="hidden" name="type" value="{{$nickname}}" />
13         <input id="fb-type" type="hidden" name="type" value="{{$type}}" />
14
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"|t}}</button>
44         </div>
45 </div>
46
47 <script>
48     $(document).ready(function(){
49
50         });
51 </script>