]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/filebrowser.tpl
Merge branch 'rewrites/app_get_baseurl_static' into develop
[friendica.git] / view / templates / filebrowser.tpl
index cde4e603cabfeee3ea434804b3573c54eeeae44e..c40b85474382f23d63d8676c02fc93e8b5fcfcc4 100644 (file)
@@ -1,10 +1,13 @@
-
 <!DOCTYPE html>
 <html>
+       <!--
+               This is the template used by mod/fbrowser.php when is called from TinyMCE rich editor.
+               See also 'filebrowser_plain.tpl'
+       -->
        <head>
        <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
        <style>
-               .panel_wrapper div.current{.overflow: auto; height: auto!important; }
+               .panel_wrapper div.current{ overflow: auto; height: auto!important; }
                .filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;}
                .filebrowser.path a { border-left: 1px solid #C0C0AA; background-color: #E0E0DD; display: block; float:left; padding: 0.3em 1em;}
                .filebrowser ul{ list-style-type: none; padding:0px; }
@@ -65,7 +68,7 @@
                        </div>
                        <div class="filebrowser folders">
                                <ul>
-                                       {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
+                                       {{foreach $folders as $f}}<li><a href="{{$baseurl}}/fbrowser/{{$type}}/{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
                                </ul>
                        </div>
                        <div class="filebrowser files {{$type}}">
@@ -78,7 +81,7 @@
                </div>
        </div>
        <div class="mceActionPanel">
-               <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" />
+               <input type="button" id="cancel" name="cancel" value="{{$cancel|escape:'html'}}" onclick="tinyMCEPopup.close();" />
        </div>  
        </body>