]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/filebrowser.tpl
Fix ignore notification
[friendica.git] / view / theme / frio / templates / filebrowser.tpl
index ce58ef0b98165c6e8e5551febd91ea991cfb4db9..6d1e092d0cd4e4eef9d3e5aed39fb3f2f6368c02 100644 (file)
@@ -1,19 +1,10 @@
-       <!--
-               This is the template used by mod/fbrowser.php
-       -->
-<style>
-       #buglink_wrapper{display:none;} /* hide buglink. only in this page */
-</style>
-{{*<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>*}}
-{{*<script type="text/javascript" src="view/theme/frio/js/filebrowser.js"></script>*}}
-
-<div class="fbrowser {{$type}}">
+<!--
+       This is the template used by mod/fbrowser.php
+-->
+<div id="filebrowser" class="fbrowser {{$type}}" data-nickname="{{$nickname}}" data-type="{{$type}}">
        <div class="fbrowser-content">
-               <input id="fb-nickname" type="hidden" name="type" value="{{$nickname|escape}}" />
-               <input id="fb-type" type="hidden" name="type" value="{{$type|escape}}" />
-
                <div class="error hidden">
-                       <span></span> <button type="button" class="btn btn-link close" aria-label="Close">X</a>
+                       <span></span> <button type="button" class="btn btn-link close" aria-label="Close">X</button>
                </div>
 
                {{* The breadcrumb navigation *}}
@@ -47,9 +38,9 @@
                                <div class="fbrowser-content-container">
                                        {{foreach $files as $f}}
                                        <div class="photo-album-image-wrapper">
-                                               <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1|escape}}" data-img="{{$f.2|escape}}">
-                                                       <img src="{{$f.2}}" alt="{{$f.1|escape}}">
-                                                       <p>{{$f.1|escape}}</p>
+                                               <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}">
+                                                       <img src="{{$f.2}}" alt="{{$f.1}}">
+                                                       <p>{{$f.1}}</p>
                                                </a>
                                        </div>
                                        {{/foreach}}