This commit is contained in:
Uwe Steinmann 2014-02-01 15:23:56 +01:00
parent 3596a7a191
commit d6d4bb70ba

View File

@ -159,6 +159,8 @@ class Settings { /* {{{ */
var $_disableSelfEdit = false;
// Sort order of users in lists('fullname' or '' (login))
var $_sortUsersInList = '';
// Sort method for forders and documents ('n' (name) or '')
var $_sortFoldersDefault = '';
// enable/disable lucene fulltext search
// if enabled admin can login only by specified IP addres
var $_adminIP = "";
@ -318,6 +320,7 @@ class Settings { /* {{{ */
$this->_enableFullSearch = Settings::boolVal($tab["enableFullSearch"]);
$this->_stopWordsFile = strval($tab["stopWordsFile"]);
$this->_sortUsersInList = strval($tab["sortUsersInList"]);
$this->_sortFoldersDefault = strval($tab["sortFoldersDefault"]);
$this->_expandFolderTree = intval($tab["expandFolderTree"]);
// XML Path: /configuration/site/calendar
@ -575,6 +578,7 @@ class Settings { /* {{{ */
$this->setXMLAttributValue($node, "expandFolderTree", $this->_expandFolderTree);
$this->setXMLAttributValue($node, "stopWordsFile", $this->_stopWordsFile);
$this->setXMLAttributValue($node, "sortUsersInList", $this->_sortUsersInList);
$this->setXMLAttributValue($node, "sortFoldersDefault", $this->_sortFoldersDefault);
// XML Path: /configuration/site/calendar
$node = $this->getXMLNode($xml, '/configuration/site', 'calendar');