From 38b18488d8606f090f0a23c4b556a17927715cbf Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 7 May 2021 15:48:07 +0200 Subject: [PATCH 1/3] show path of document/folder instead of comment --- views/bootstrap/class.Clipboard.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/bootstrap/class.Clipboard.php b/views/bootstrap/class.Clipboard.php index b2df501e0..063a34808 100644 --- a/views/bootstrap/class.Clipboard.php +++ b/views/bootstrap/class.Clipboard.php @@ -119,9 +119,12 @@ class SeedDMS_View_Clipboard extends SeedDMS_Theme_Style { $content .= $this->folderListRowStart($folder); $content .= "getID()."&showtree=".showtree()."\">getMimeIcon(".folder")."\" width=\"24\" height=\"24\" border=0>\n"; $content .= "getID()."&showtree=".showtree()."\">" . htmlspecialchars($folder->getName()) . ""; + /* if($comment) { $content .= "
".htmlspecialchars($comment).""; } + */ + $content .= $this->getListRowPath($folder); $content .= "\n"; $content .= "\n"; $content .= "
getID()."\" msg=\"".getMLText('splash_removed_from_clipboard')."\" title=\"".getMLText('rm_from_clipboard')."\">
"; @@ -165,9 +168,12 @@ class SeedDMS_View_Clipboard extends SeedDMS_Theme_Style { $content .= "getMimeIcon($latestContent->getFileType())."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">"; $content .= "getID()."&showtree=".showtree()."\">" . htmlspecialchars($document->getName()) . ""; + /* if($comment) { $content .= "
".htmlspecialchars($comment).""; } + */ + $content .= $this->getListRowPath($document); $content .= "\n"; $content .= "\n"; $content .= "
getID()."\" msg=\"".getMLText('splash_removed_from_clipboard')."\" _href=\"../op/op.RemoveFromClipboard.php?folderid=".(isset($this->params['folder']) ? $this->params['folder']->getID() : '')."&id=".$document->getID()."&type=document\" title=\"".getMLText('rm_from_clipboard')."\">
"; From e4f4a52ed686062ac3d0762b5e50d3854985ae5c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 7 May 2021 15:48:27 +0200 Subject: [PATCH 2/3] add changes for 5.1.23 --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index 788252e05..be218e41a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ RemoveFolder::run was called more than once - fix php error setting mandatory workflow when uploading documents via webdav - typeahead search for folders can search in subfolders +- new theme based on bootstrap 4, including many improvements on small displays -------------------------------------------------------------------------------- Changes in version 5.1.22 From ed4b5e34a41f1c2ffc08a9090ff566dc3a1028e9 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 7 May 2021 17:35:29 +0200 Subject: [PATCH 3/3] item in list with badges can be set active --- views/bootstrap/class.Bootstrap.php | 2 +- views/bootstrap4/class.Bootstrap4.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 81f1f640e..79f27fac7 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -589,7 +589,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $content = ''; $content .= "\n"; foreach($menuitems as $menuitem) { - $content .= "
  • \n"; + $content .= "
  • \n"; $content .= ' \n"; foreach($menuitems as $menuitem) { - $content .= "
  • \n"; + $content .= "
  • \n"; $content .= '