X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Ftemplates%2Ffilebrowser.tpl;h=7afcad3903baeb6de2b4e6e5394b577221a42b3d;hb=39e820e6a3ffaaec82f47b493c1b6b45f768a303;hp=2122e27fc9f54f10c791e8c3c5a932c2ae46d429;hpb=70b7de39a751934056ca5744ae4327d94b4a80f9;p=friendica.git
diff --git a/view/templates/filebrowser.tpl b/view/templates/filebrowser.tpl
index 2122e27fc9..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}}
-
-
-
+
+
+
+
+
+
+
-
+