mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
set disable flag of extension
otherwise it will not be saved
This commit is contained in:
parent
b59f906f27
commit
daf08343e3
|
@ -78,7 +78,7 @@ class SeedDMS_View_Settings extends SeedDMS_Bootstrap_Style {
|
||||||
*/
|
*/
|
||||||
protected function showRawConfigHeadline($text) { /* {{{ */
|
protected function showRawConfigHeadline($text) { /* {{{ */
|
||||||
?>
|
?>
|
||||||
<tr><td><b><?= $text ?></b></td></tr>
|
<tr><td colspan="2"><b><?= $text ?></b></td></tr>
|
||||||
<?php
|
<?php
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
@ -481,7 +481,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
||||||
if($this->hasHook('processConfig'))
|
if($this->hasHook('processConfig'))
|
||||||
$extconf = $this->callHook('processConfig', $extname, $extconf);
|
$extconf = $this->callHook('processConfig', $extname, $extconf);
|
||||||
if($extconf['config']) {
|
if($extconf['config']) {
|
||||||
$this->showRawConfigHeadline("<a name=\"".$extname."\"></a>".$extconf['title']);
|
$this->showRawConfigHeadline("<a name=\"".$extname."\"></a>".'<input type="hidden" name="extensions['.$extname.'][__disable__]" value="'.(isset($settings->_extensions[$extname]["__disable__"]) && $settings->_extensions[$extname]["__disable__"] ? '1' : '').'" />'.$extconf['title']);
|
||||||
foreach($extconf['config'] as $confkey=>$conf) {
|
foreach($extconf['config'] as $confkey=>$conf) {
|
||||||
ob_start();
|
ob_start();
|
||||||
switch($conf['type']) {
|
switch($conf['type']) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user