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== urlencode(getBaseUrl().$settings->_httpRoot.'op/op.ViewOnline.php?documentid='.$version->getDocument()->getID().'&version='.$version->getVersion()); ?>" width="100%" height="700px"> +extensionIsDisabled('pdfviewer')) { $this->contentHeading(getMLText("preview")); ?>