From be71795fc558dce100eb954c4de3b5e89d414713 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 3 Dec 2025 16:41:57 +0100 Subject: [PATCH 1/4] - 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 2/4] 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 3/4] 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 4/4] 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")); ?>