]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/filebrowser.tpl
adhere feedback
[friendica.git] / view / templates / filebrowser.tpl
index 683ca4ec6eecc097d9d5cff6e7703a68b17150f8..09bf563ee745ccc3967d9f0c2b93571ae926eb34 100644 (file)
@@ -1,7 +1,7 @@
 <!--
        This is the template used by mod/fbrowser.php
 -->
-<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
 <script type="text/javascript" src="{{$baseurl}}/view/js/filebrowser.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
 <script>
        $(function() {
@@ -32,7 +32,7 @@
        <div class="list">
                {{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}}" data-img="{{$f.2}}">
+                       <a href="#" class="photo-album-photo-link" data-link="{{$f.0}}" data-filename="{{$f.1}}" data-img="{{$f.2}}" data-alt="{{$f.3}}">
                                <img src="{{$f.2}}">
                                <p>{{$f.1}}</p>
                        </a>