diff --git a/CHANGELOG b/CHANGELOG index d23e471c0..9efb58ace 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -362,6 +362,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/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index 59f4bd1d8..7a37b3371 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']; @@ -128,10 +129,12 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style { extensionIsDisabled('pdfviewer')) { $this->contentHeading(getMLText("preview")); ?> - - _httpRoot ?>ext/pdfviewer/res/web/viewer.html?file=_httpRoot.'op/op.ViewOnline.php?documentid='.$version->getDocument()->getID().'&version='.$version->getVersion()); ?>" width="100%" height="700px"> +extensionIsDisabled('pdfviewer')) { $this->contentHeading(getMLText("preview")); ?>
- +
contentHeading(getMLText("preview_pdf")); ?>
- +
"; if(isset($value['options']) && is_array($value['options'])) { - if($allowempty) - echo ""; +// if($allowempty) +// echo ""; foreach($value['options'] as $val) { if(is_string($val)) { echo ''; diff --git a/views/bootstrap4/styles/application.css b/views/bootstrap4/styles/application.css index 274beac75..270538a64 100644 --- a/views/bootstrap4/styles/application.css +++ b/views/bootstrap4/styles/application.css @@ -291,6 +291,7 @@ a.accordion2-toggle:focus, a.accordion2-toggle:hover { } .datepicker { border-radius: 0px; + padding: 0.375rem 0.75rem; } span.datepicker { padding: 0px;