X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Ffilebrowser.tpl;h=7afcad3903baeb6de2b4e6e5394b577221a42b3d;hb=b3d8924ccce3328ecc4a63613c48c6059b26190b;hp=2122e27fc9f54f10c791e8c3c5a932c2ae46d429;hpb=cf5c1b550b730ed52b9a72c453a3adf31c29d64d;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}}
-
-
-
+
+
+
+
+
+
+
-
+