From be71795fc558dce100eb954c4de3b5e89d414713 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 3 Dec 2025 16:41:57 +0100 Subject: [PATCH 01/17] - fix formatting of date input fields --- CHANGELOG | 1 + views/bootstrap4/styles/application.css | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a816da919..f48703689 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -15,6 +15,7 @@ - use table sorter on clear cache page and conversion services page - droping an url in the drag&drop area will download the url - add button to all password fields to make password visible +- fix formatting of date input fields -------------------------------------------------------------------------------- Changes in version 5.1.42 diff --git a/views/bootstrap4/styles/application.css b/views/bootstrap4/styles/application.css index 951425d14..804e82272 100644 --- a/views/bootstrap4/styles/application.css +++ b/views/bootstrap4/styles/application.css @@ -283,6 +283,7 @@ a.accordion2-toggle:focus, a.accordion2-toggle:hover { } .datepicker { border-radius: 0px; + padding: 0.375rem 0.75rem; } span.datepicker { padding: 0px; From 2db5c33fa64ee2423c677dac2bafc80fecc42687 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 4 Dec 2025 10:40:42 +0100 Subject: [PATCH 02/17] remove empty option when allow-empty is set --- views/bootstrap4/class.Bootstrap4.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index b2f366967..8d355c6ad 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -1197,8 +1197,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo ' '.$a[0].'="'.$a[1].'"'; echo ">"; if(isset($value['options']) && is_array($value['options'])) { - if($allowempty) - echo ""; +// if($allowempty) +// echo ""; foreach($value['options'] as $val) { if(is_string($val)) { echo ''; From 8dd79092671266fc75fa9256b4355f525f142e58 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 4 Dec 2025 18:16:44 +0100 Subject: [PATCH 03/17] use complete to file loaded by pdf viewer --- views/bootstrap/class.DocumentVersionDetail.php | 3 ++- views/bootstrap/class.ViewDocument.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/views/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index 99317fe7c..d4256223a 100644 --- a/views/bootstrap/class.DocumentVersionDetail.php +++ b/views/bootstrap/class.DocumentVersionDetail.php @@ -83,6 +83,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { function preview() { /* {{{ */ $dms = $this->params['dms']; + $settings = $this->params['settings']; $document = $this->params['document']; $timeout = $this->params['timeout']; $xsendfile = $this->params['xsendfile']; @@ -130,7 +131,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { case 'application/pdf': $this->contentHeading(getMLText("preview")); ?> - + contentHeading(getMLText("preview")); ?>
- +
contentHeading(getMLText("preview_pdf")); ?>
- +
Date: Thu, 4 Dec 2025 18:29:48 +0100 Subject: [PATCH 04/17] use pdfviewer only if extension is enabled --- views/bootstrap/class.DocumentVersionDetail.php | 4 +++- views/bootstrap/class.ViewDocument.php | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index d4256223a..f70279745 100644 --- a/views/bootstrap/class.DocumentVersionDetail.php +++ b/views/bootstrap/class.DocumentVersionDetail.php @@ -129,10 +129,12 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { extensionIsDisabled('pdfviewer')) { $this->contentHeading(getMLText("preview")); ?> - extensionIsDisabled('pdfviewer')) { $this->contentHeading(getMLText("preview")); ?>
Date: Fri, 5 Dec 2025 08:01:30 +0100 Subject: [PATCH 05/17] fix php error when checking access rights --- out/out.EditMarkdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/out/out.EditMarkdown.php b/out/out.EditMarkdown.php index 2ba54550d..a85c2038f 100644 --- a/out/out.EditMarkdown.php +++ b/out/out.EditMarkdown.php @@ -79,7 +79,7 @@ if (!isset($settings->_editOnlineFileTypes) || !is_array($settings->_editOnlineF */ /* Create object for checking access to certain operations */ -$accessop = new SeedDMS_AccessOperation($dms, $document, $user, $settings); +$accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if(!$accessop->mayEditVersion($version)) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied")); } From 042bdb311f117eb44392690a4c5b99f457710c46 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 5 Dec 2025 09:43:08 +0100 Subject: [PATCH 06/17] show help-cursor when moving mouse over label of config var --- views/bootstrap/class.Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index a69ebe078..a63942d97 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -169,7 +169,7 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { protected function showConfigPlain($title, $title_desc, $rawdata) { /* {{{ */ $settings = $this->params['settings']; ?> - + > From 84511a7eda6b62681abc9c221046a7e43bf0ab5c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 5 Dec 2025 09:54:10 +0100 Subject: [PATCH 07/17] use help-cursor for all labels of config vars --- views/bootstrap/class.Settings.php | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index a63942d97..4bb307cec 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -142,8 +142,8 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { protected function showConfigText($title, $name, $type='', $placeholder='') { /* {{{ */ $settings = $this->params['settings']; ?> - "> - + + > arrayToString($settings->{"_".$name}); @@ -169,8 +169,8 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { protected function showConfigPlain($title, $title_desc, $rawdata) { /* {{{ */ $settings = $this->params['settings']; ?> - > - + + > params['settings']; ?> - "> - + + > isVisible($name)) { @@ -206,8 +206,8 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { // var_dump($values); // echo $isass ? 'asso' : 'indexed'; ?> - "> - + + >