mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	add configuration for defaultFolderPosition
This commit is contained in:
		
							parent
							
								
									f6d9b1892e
								
							
						
					
					
						commit
						70d250cfea
					
				|  | @ -261,6 +261,8 @@ class Settings { /* {{{ */ | |||
| 	var $_sortFoldersDefault = ''; | ||||
| 	// Where to insert new documents ('start' or 'end')
 | ||||
| 	var $_defaultDocPosition = 'end'; | ||||
| 	// Where to insert new folders ('start' or 'end')
 | ||||
| 	var $_defaultFolderPosition = 'end'; | ||||
| 	// Set valid IP for admin logins
 | ||||
| 	// if enabled admin can login only by specified IP addres
 | ||||
| 	var $_adminIP = ""; | ||||
|  | @ -531,6 +533,7 @@ class Settings { /* {{{ */ | |||
| 		$this->_sortFoldersDefault = strval($tab["sortFoldersDefault"]); | ||||
| 		$this->_expandFolderTree = intval($tab["expandFolderTree"]); | ||||
| 		$this->_defaultDocPosition = strval($tab["defaultDocPosition"]); | ||||
| 		$this->_defaultFolderPosition = strval($tab["defaultFolderPosition"]); | ||||
| 
 | ||||
| 		// XML Path: /configuration/site/webdav
 | ||||
| 		$node = $xml->xpath('/configuration/site/webdav'); | ||||
|  | @ -910,6 +913,7 @@ class Settings { /* {{{ */ | |||
|     $this->setXMLAttributValue($node, "sortUsersInList", $this->_sortUsersInList); | ||||
|     $this->setXMLAttributValue($node, "sortFoldersDefault", $this->_sortFoldersDefault); | ||||
|     $this->setXMLAttributValue($node, "defaultDocPosition", $this->_defaultDocPosition); | ||||
|     $this->setXMLAttributValue($node, "defaultFolderPosition", $this->_defaultFolderPosition); | ||||
| 
 | ||||
|     // XML Path: /configuration/site/webdav
 | ||||
|     $node = $this->getXMLNode($xml, '/configuration/site', 'webdav'); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann