asking for version number can be turned of completely

This commit is contained in:
Uwe Steinmann 2020-01-16 13:08:48 +01:00
parent 905adbe6ba
commit f0ab6af744
2 changed files with 3 additions and 1 deletions

View File

@ -325,6 +325,7 @@ $(document).ready(function() {
}
$this->contentSubHeading(getMLText("version_info"));
if(!$nodocumentformfields || !in_array('version', $nodocumentformfields)) {
$this->formField(
getMLText("version"),
array(
@ -335,6 +336,7 @@ $(document).ready(function() {
'value'=>1
)
);
}
$this->formField(
getMLText("local_file"),
$enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooserHtml('userfile[]', $enablemultiupload).($enablemultiupload ? '<a class="" id="new-file"><?php printMLtext("add_multiple_files") ?></a>' : '')

View File

@ -288,7 +288,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
-->
<?php $this->showConfigHeadline('settings_Edition'); ?>
<?php $this->showConfigCheckbox('settings_strictFormCheck', 'strictFormCheck'); ?>
<?php $this->showConfigOption('settings_noDocumentFormFields', 'noDocumentFormFields', array('comment', 'keywords', 'categories', 'sequence', 'expires', 'version_comment', 'notification'), true, true); ?>
<?php $this->showConfigOption('settings_noDocumentFormFields', 'noDocumentFormFields', array('comment', 'keywords', 'categories', 'sequence', 'expires', 'version', 'version_comment', 'notification'), true, true); ?>
<?php $this->showConfigText('settings_viewOnlineFileTypes', 'viewOnlineFileTypes', 'array'); ?>
<?php $this->showConfigText('settings_editOnlineFileTypes', 'editOnlineFileTypes', 'array'); ?>
<?php $this->showConfigCheckbox('settings_enableConverting', 'enableConverting'); ?>