remove titleDisplayHack configuration

This commit is contained in:
Uwe Steinmann 2021-09-09 09:57:00 +02:00
parent 40f3cf35c9
commit 9f618c5437
4 changed files with 0 additions and 8 deletions

View File

@ -224,13 +224,11 @@
<!--
-siteDefaultPage: Default page on login. Defaults to out/out.ViewFolder.php
- rootFolderID: ID of root-folder (mostly no need to change)
- titleDisplayHack: Workaround for page titles that go over more than 2 lines.
- showMissingTranslations: XXX
-->
<display
siteDefaultPage = ""
rootFolderID = "1"
titleDisplayHack = "true"
showMissingTranslations = "false"
/>
<!--

View File

@ -155,8 +155,6 @@ class Settings { /* {{{ */
var $_overrideTheme = false;
// experimental one page mode for ViewFolder page
var $_onePageMode = false;
// Workaround for page titles that go over more than 2 lines.
var $_titleDisplayHack = true;
// enable/disable automatic email notification
var $_enableEmail = true;
// enable/disable group and user view for all users
@ -675,7 +673,6 @@ class Settings { /* {{{ */
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
$this->_rootFolderID = intval($tab["rootFolderID"]);
$this->_useHomeAsRootFolder = Settings::boolval($tab["useHomeAsRootFolder"]);
$this->_titleDisplayHack = Settings::boolval($tab["titleDisplayHack"]);
$this->_showMissingTranslations = Settings::boolval($tab["showMissingTranslations"]);
$this->_hiddenConfFields = explode(';', strval($tab["hiddenConfFields"]));
}
@ -1017,7 +1014,6 @@ class Settings { /* {{{ */
$this->setXMLAttributValue($node, "siteDefaultPage", $this->_siteDefaultPage);
$this->setXMLAttributValue($node, "rootFolderID", $this->_rootFolderID);
$this->setXMLAttributValue($node, "useHomeAsRootFolder", $this->_useHomeAsRootFolder);
$this->setXMLAttributValue($node, "titleDisplayHack", $this->_titleDisplayHack);
$this->setXMLAttributValue($node, "showMissingTranslations", $this->_showMissingTranslations);
// $this->setXMLAttributValue($node, "hiddenConfFields", $this->_hiddenConfFields);

View File

@ -218,7 +218,6 @@ if ($action == "saveSettings")
setStrValue("siteDefaultPage");
setIntValue("rootFolderID");
setBoolValue("useHomeAsRootFolder");
setBoolValue("titleDisplayHack");
setBoolValue("showMissingTranslations");
// SETTINGS - ADVANCED - AUTHENTICATION

View File

@ -454,7 +454,6 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
<?php $this->showConfigText('settings_siteDefaultPage', 'siteDefaultPage'); ?>
<?php $this->showConfigText('settings_rootFolderID', 'rootFolderID'); ?>
<?php $this->showConfigCheckbox('settings_useHomeAsRootFolder', 'useHomeAsRootFolder'); ?>
<?php $this->showConfigCheckbox('settings_titleDisplayHack', 'titleDisplayHack'); ?>
<?php $this->showConfigCheckbox('settings_showMissingTranslations', 'showMissingTranslations'); ?>
<!--