fix saving of enableSessionList

This commit is contained in:
Uwe Steinmann 2017-04-11 17:36:40 +02:00
parent 81926fe0b9
commit 468ec80db3
2 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ class Settings { /* {{{ */
// enable/disable display of the clipboard
var $_enableClipboard = true;
// enable/disable display of the session list
var $_enableSessionList = true;
var $_enableSessionList = false;
// enable/disable display of the drop zone for file upload
var $_enableDropUpload = true;
// enable/disable display of the folder tree
@ -720,7 +720,7 @@ class Settings { /* {{{ */
$this->setXMLAttributValue($node, "enableConverting", $this->_enableConverting);
$this->setXMLAttributValue($node, "enableEmail", $this->_enableEmail);
$this->setXMLAttributValue($node, "enableUsersView", $this->_enableUsersView);
$this->setXMLAttributValue($node, "enableClipboard", $this->_enableSessionList);
$this->setXMLAttributValue($node, "enableSessionList", $this->_enableSessionList);
$this->setXMLAttributValue($node, "enableClipboard", $this->_enableClipboard);
$this->setXMLAttributValue($node, "enableDropUpload", $this->_enableDropUpload);
$this->setXMLAttributValue($node, "enableFolderTree", $this->_enableFolderTree);

View File

@ -268,7 +268,7 @@ if(!is_writeable($settings->_configFilePath)) {
</tr>
<tr title="<?php printMLText("settings_enableSessionList_desc");?>">
<td><?php printMLText("settings_enableSessionList");?>:</td>
<td><input name="enableSessionList" type="checkbox" <?php if ($settings->_enableClipboard) echo "checked" ?> /></td>
<td><input name="enableSessionList" type="checkbox" <?php if ($settings->_enableSessionList) echo "checked" ?> /></td>
</tr>
<tr title="<?php printMLText("settings_enableDropUpload_desc");?>">
<td><?php printMLText("settings_enableDropUpload");?>:</td>