X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Ffilebrowser.tpl;h=09bf563ee745ccc3967d9f0c2b93571ae926eb34;hb=78a8ed6fe77318387cae300f8a3a415477d241b5;hp=c40b85474382f23d63d8676c02fc93e8b5fcfcc4;hpb=4b6afbf6814acde5151edc74f0b6cf1fd7685432;p=friendica.git
diff --git a/view/templates/filebrowser.tpl b/view/templates/filebrowser.tpl
index c40b854743..09bf563ee7 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}}
-
-
-
+
+
+
+
+
+
+
-
+