mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
new parameter to turn missing translation output
This commit is contained in:
parent
9e4e7df6d4
commit
0ff38100c6
|
@ -172,6 +172,8 @@ class Settings { /* {{{ */
|
||||||
var $_previewWidthList = 40;
|
var $_previewWidthList = 40;
|
||||||
// Preview image width on document details page
|
// Preview image width on document details page
|
||||||
var $_previewWidthDetail = 100;
|
var $_previewWidthDetail = 100;
|
||||||
|
// Show form to submit missing translations at end of page
|
||||||
|
var $_showMissingTranslations = false;
|
||||||
// Extra Path to additional software, will be added to include path
|
// Extra Path to additional software, will be added to include path
|
||||||
var $_extraPath = null;
|
var $_extraPath = null;
|
||||||
// DB-Driver used by adodb (see adodb-readme)
|
// DB-Driver used by adodb (see adodb-readme)
|
||||||
|
@ -451,6 +453,7 @@ class Settings { /* {{{ */
|
||||||
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
|
$this->_siteDefaultPage = strval($tab["siteDefaultPage"]);
|
||||||
$this->_rootFolderID = intval($tab["rootFolderID"]);
|
$this->_rootFolderID = intval($tab["rootFolderID"]);
|
||||||
$this->_titleDisplayHack = Settings::boolval($tab["titleDisplayHack"]);
|
$this->_titleDisplayHack = Settings::boolval($tab["titleDisplayHack"]);
|
||||||
|
$this->_showMissingTranslations = Settings::boolval($tab["showMissingTranslations"]);
|
||||||
|
|
||||||
// XML Path: /configuration/advanced/authentication
|
// XML Path: /configuration/advanced/authentication
|
||||||
$node = $xml->xpath('/configuration/advanced/authentication');
|
$node = $xml->xpath('/configuration/advanced/authentication');
|
||||||
|
@ -701,6 +704,7 @@ 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, "titleDisplayHack", $this->_titleDisplayHack);
|
$this->setXMLAttributValue($node, "titleDisplayHack", $this->_titleDisplayHack);
|
||||||
|
$this->setXMLAttributValue($node, "showMissingTranslations", $this->_showMissingTranslations);
|
||||||
|
|
||||||
// XML Path: /configuration/advanced/authentication
|
// XML Path: /configuration/advanced/authentication
|
||||||
$node = $this->getXMLNode($xml, '/configuration/advanced', 'authentication');
|
$node = $this->getXMLNode($xml, '/configuration/advanced', 'authentication');
|
||||||
|
|
|
@ -131,6 +131,7 @@ if ($action == "saveSettings")
|
||||||
$settings->_siteDefaultPage = $_POST["siteDefaultPage"];
|
$settings->_siteDefaultPage = $_POST["siteDefaultPage"];
|
||||||
$settings->_rootFolderID = intval($_POST["rootFolderID"]);
|
$settings->_rootFolderID = intval($_POST["rootFolderID"]);
|
||||||
$settings->_titleDisplayHack = getBoolValue("titleDisplayHack");
|
$settings->_titleDisplayHack = getBoolValue("titleDisplayHack");
|
||||||
|
$settings->_showMissingTranslations = getBoolValue("showMissingTranslations");
|
||||||
|
|
||||||
// SETTINGS - ADVANCED - AUTHENTICATION
|
// SETTINGS - ADVANCED - AUTHENTICATION
|
||||||
$settings->_guestID = intval($_POST["guestID"]);
|
$settings->_guestID = intval($_POST["guestID"]);
|
||||||
|
|
|
@ -429,6 +429,10 @@ if(!is_writeable($settings->_configFilePath)) {
|
||||||
<td><?php printMLText("settings_titleDisplayHack");?>:</td>
|
<td><?php printMLText("settings_titleDisplayHack");?>:</td>
|
||||||
<td><input name="titleDisplayHack" type="checkbox" <?php if ($settings->_titleDisplayHack) echo "checked" ?> /></td>
|
<td><input name="titleDisplayHack" type="checkbox" <?php if ($settings->_titleDisplayHack) echo "checked" ?> /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr title="<?php printMLText("settings_showMissingTranslations_desc");?>">
|
||||||
|
<td><?php printMLText("settings_showMissingTranslations");?>:</td>
|
||||||
|
<td><input name="showMissingTranslations" type="checkbox" <?php if ($settings->_showMissingTranslations) echo "checked" ?> /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
-- SETTINGS - ADVANCED - AUTHENTICATION
|
-- SETTINGS - ADVANCED - AUTHENTICATION
|
||||||
|
|
Loading…
Reference in New Issue
Block a user