]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/filebrowser.tpl
Merge branch 'develop' into bug/6211-fix-contact-nets-all
[friendica.git] / view / theme / frio / templates / filebrowser.tpl
index 3fde6a52021b07b45b9137844d8e03e98bdf7756..ce58ef0b98165c6e8e5551febd91ea991cfb4db9 100644 (file)
@@ -4,16 +4,16 @@
 <style>
        #buglink_wrapper{display:none;} /* hide buglink. only in this page */
 </style>
-{{*<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script>*}}
+{{*<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}}">
        <div class="fbrowser-content">
-               <input id="fb-nickname" type="hidden" name="type" value="{{$nickname}}" />
-               <input id="fb-type" type="hidden" name="type" value="{{$type}}" />
+               <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" class="close" aria-label="Close">X</a>
+                       <span></span> <button type="button" class="btn btn-link close" aria-label="Close">X</a>
                </div>
 
                {{* The breadcrumb navigation *}}
@@ -47,9 +47,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}}" data-img="{{$f.2}}">
-                                                       <img src="{{$f.2}}" alt="{{$f.1}}">
-                                                       <p>{{$f.1}}</p>
+                                               <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>
                                        </div>
                                        {{/foreach}}