From 487f6b1806d7890eba4efb7c92f577a628b57cd7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 16 May 2013 09:56:28 +0200 Subject: [PATCH 1/6] fix minor layout error in folder tree (Bug #51) --- styles/bootstrap/application.css | 4 ++++ views/bootstrap/class.Bootstrap.php | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/styles/bootstrap/application.css b/styles/bootstrap/application.css index d3a0df5be..7f3b8ca4e 100644 --- a/styles/bootstrap/application.css +++ b/styles/bootstrap/application.css @@ -35,6 +35,10 @@ ul.actions li a.btn > i { font-size: 200%; } +ul.tree, ul.tree ul { + margin-left: 20px; +} + @media (max-width: 480px) { .nav-tabs > li { float:none; diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 1e56d72b7..79e467d60 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -966,8 +966,9 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common { } if ($folder->getAccessMode($this->params['user']) >= $accessMode) { - if ($is_open) print ""; - else print ""; + if ($is_open) print ""; + else print ""; +// print ""; if ($folderID != $currentFolderID){ From 7ea3c9a73a970cdc85aa479981501549a9f06fc5 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 17 May 2013 08:47:04 +0200 Subject: [PATCH 2/6] close folder chooser dialog when folder is selected --- views/bootstrap/class.Bootstrap.php | 21 ++++++++++----------- views/bootstrap/class.FolderChooser.php | 7 ++----- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 79e467d60..ec9dd670e 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -704,25 +704,17 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common { } /* }}} */ function printFolderChooser($formName, $accessMode, $exclude = -1, $default = false) { /* {{{ */ - ?> - - getID() : "") ."\">"; print "
\n"; print "getName()) : "") ."\" placeholder=\"".getMLText('type_to_search')."\" autocomplete=\"off\" />"; // print ""; - print "".getMLText("folder")."…\n"; + print "".getMLText("folder")."…\n"; print "
\n"; ?> -