mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 19:38:57 +00:00
remove titleDisplayHack configuration
This commit is contained in:
parent
40f3cf35c9
commit
9f618c5437
|
@ -224,13 +224,11 @@
|
||||||
<!--
|
<!--
|
||||||
-siteDefaultPage: Default page on login. Defaults to out/out.ViewFolder.php
|
-siteDefaultPage: Default page on login. Defaults to out/out.ViewFolder.php
|
||||||
- rootFolderID: ID of root-folder (mostly no need to change)
|
- rootFolderID: ID of root-folder (mostly no need to change)
|
||||||
- titleDisplayHack: Workaround for page titles that go over more than 2 lines.
|
|
||||||
- showMissingTranslations: XXX
|
- showMissingTranslations: XXX
|
||||||
-->
|
-->
|
||||||
<display
|
<display
|
||||||
siteDefaultPage = ""
|
siteDefaultPage = ""
|
||||||
rootFolderID = "1"
|
rootFolderID = "1"
|
||||||
titleDisplayHack = "true"
|
|
||||||
showMissingTranslations = "false"
|
showMissingTranslations = "false"
|
||||||
/>
|
/>
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -155,8 +155,6 @@ class Settings { /* {{{ */
|
||||||
var $_overrideTheme = false;
|
var $_overrideTheme = false;
|
||||||
// experimental one page mode for ViewFolder page
|
// experimental one page mode for ViewFolder page
|
||||||
var $_onePageMode = false;
|
var $_onePageMode = false;
|
||||||
// Workaround for page titles that go over more than 2 lines.
|
|
||||||
var $_titleDisplayHack = true;
|
|
||||||
// enable/disable automatic email notification
|
// enable/disable automatic email notification
|
||||||
var $_enableEmail = true;
|
var $_enableEmail = true;
|
||||||
// enable/disable group and user view for all users
|
// enable/disable group and user view for all users
|
||||||
|
@ -675,7 +673,6 @@ class Settings { /* {{{ */
|
||||||
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
|
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
|
||||||
$this->_rootFolderID = intval($tab["rootFolderID"]);
|
$this->_rootFolderID = intval($tab["rootFolderID"]);
|
||||||
$this->_useHomeAsRootFolder = Settings::boolval($tab["useHomeAsRootFolder"]);
|
$this->_useHomeAsRootFolder = Settings::boolval($tab["useHomeAsRootFolder"]);
|
||||||
$this->_titleDisplayHack = Settings::boolval($tab["titleDisplayHack"]);
|
|
||||||
$this->_showMissingTranslations = Settings::boolval($tab["showMissingTranslations"]);
|
$this->_showMissingTranslations = Settings::boolval($tab["showMissingTranslations"]);
|
||||||
$this->_hiddenConfFields = explode(';', strval($tab["hiddenConfFields"]));
|
$this->_hiddenConfFields = explode(';', strval($tab["hiddenConfFields"]));
|
||||||
}
|
}
|
||||||
|
@ -1017,7 +1014,6 @@ class Settings { /* {{{ */
|
||||||
$this->setXMLAttributValue($node, "siteDefaultPage", $this->_siteDefaultPage);
|
$this->setXMLAttributValue($node, "siteDefaultPage", $this->_siteDefaultPage);
|
||||||
$this->setXMLAttributValue($node, "rootFolderID", $this->_rootFolderID);
|
$this->setXMLAttributValue($node, "rootFolderID", $this->_rootFolderID);
|
||||||
$this->setXMLAttributValue($node, "useHomeAsRootFolder", $this->_useHomeAsRootFolder);
|
$this->setXMLAttributValue($node, "useHomeAsRootFolder", $this->_useHomeAsRootFolder);
|
||||||
$this->setXMLAttributValue($node, "titleDisplayHack", $this->_titleDisplayHack);
|
|
||||||
$this->setXMLAttributValue($node, "showMissingTranslations", $this->_showMissingTranslations);
|
$this->setXMLAttributValue($node, "showMissingTranslations", $this->_showMissingTranslations);
|
||||||
// $this->setXMLAttributValue($node, "hiddenConfFields", $this->_hiddenConfFields);
|
// $this->setXMLAttributValue($node, "hiddenConfFields", $this->_hiddenConfFields);
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,6 @@ if ($action == "saveSettings")
|
||||||
setStrValue("siteDefaultPage");
|
setStrValue("siteDefaultPage");
|
||||||
setIntValue("rootFolderID");
|
setIntValue("rootFolderID");
|
||||||
setBoolValue("useHomeAsRootFolder");
|
setBoolValue("useHomeAsRootFolder");
|
||||||
setBoolValue("titleDisplayHack");
|
|
||||||
setBoolValue("showMissingTranslations");
|
setBoolValue("showMissingTranslations");
|
||||||
|
|
||||||
// SETTINGS - ADVANCED - AUTHENTICATION
|
// SETTINGS - ADVANCED - AUTHENTICATION
|
||||||
|
|
|
@ -454,7 +454,6 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
|
||||||
<?php $this->showConfigText('settings_siteDefaultPage', 'siteDefaultPage'); ?>
|
<?php $this->showConfigText('settings_siteDefaultPage', 'siteDefaultPage'); ?>
|
||||||
<?php $this->showConfigText('settings_rootFolderID', 'rootFolderID'); ?>
|
<?php $this->showConfigText('settings_rootFolderID', 'rootFolderID'); ?>
|
||||||
<?php $this->showConfigCheckbox('settings_useHomeAsRootFolder', 'useHomeAsRootFolder'); ?>
|
<?php $this->showConfigCheckbox('settings_useHomeAsRootFolder', 'useHomeAsRootFolder'); ?>
|
||||||
<?php $this->showConfigCheckbox('settings_titleDisplayHack', 'titleDisplayHack'); ?>
|
|
||||||
<?php $this->showConfigCheckbox('settings_showMissingTranslations', 'showMissingTranslations'); ?>
|
<?php $this->showConfigCheckbox('settings_showMissingTranslations', 'showMissingTranslations'); ?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in New Issue
Block a user