X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Ffilebrowser.tpl;h=7afcad3903baeb6de2b4e6e5394b577221a42b3d;hb=728e82d8b076cddac451e7db932a79397e443bfb;hp=c40b85474382f23d63d8676c02fc93e8b5fcfcc4;hpb=bef827f1ccaa458346c38f1e815ad63a4700af73;p=friendica.git
diff --git a/view/templates/filebrowser.tpl b/view/templates/filebrowser.tpl
index c40b854743..7afcad3903 100644
--- a/view/templates/filebrowser.tpl
+++ b/view/templates/filebrowser.tpl
@@ -1,88 +1,51 @@
-
-
-
-
-
-
-
+
+
+
+
- // close popup window
- tinyMCEPopup.close();
- }
- }
+
+ {{foreach $path as $folder => $name}}
+
{{$name}}
+ {{/foreach}}
+
- tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue);
-
-
-
-
-
-
- - FileBrowser
+ {{if $folders }}
+
+
+ {{foreach $folders as $folder}}
+ - {{$folder}}
+ {{/foreach}}
-
+ {{/if}}
-
-
- {{foreach $path as $p}}
{{$p.1}}{{/foreach}}
-
-
-
- {{foreach $folders as $f}}- {{$f.1}}
{{/foreach}}
-
-
-
-
- {{foreach $files as $f}}
-
{{$f.1}}
- {{/foreach}}
-
-
+
+ {{foreach $files as $f}}
+
+ {{/foreach}}
-
-
-
+
+
+
+
+
+
+
-
+