From f8a6b7e59939e5db0b75731bc954e345e063a9b1 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 6 Jul 2016 09:03:14 +0200 Subject: [PATCH] distinguish between files and folders in printDropFolderChooser() if $showfolders is set, only folders will be shown --- views/bootstrap/class.Bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index ff5897f2c..cbb502d8a 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1112,13 +1112,13 @@ $('#acceptkeywords').click(function(ev) { print "
\n"; print ""; print ""; - print "".getMLText("choose_target_file")."…\n"; + print "".($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file"))."…\n"; print "
\n"; ?>