pass on type and placeholder of extension config

this will fix password fields in the extension configuration which
were readable
This commit is contained in:
Uwe Steinmann 2018-12-13 18:24:34 +01:00
parent dead432346
commit 7b1fc28cf4

View File

@ -564,7 +564,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
}
break;
default:
$this->showTextField("extensions[".$extname."][".$confkey."]", isset($settings->_extensions[$extname][$confkey]) ? $settings->_extensions[$extname][$confkey] : '', '', '');
$this->showTextField("extensions[".$extname."][".$confkey."]", isset($settings->_extensions[$extname][$confkey]) ? $settings->_extensions[$extname][$confkey] : '', isset($conf['type']) ? $conf['type'] : '', isset($conf['placeholder']) ? $conf['placeholder'] : '');
}
$html = ob_get_clean();
$this->showConfigPlain($conf['title'], isset($conf['help']) ? $conf['help'] : '', $html);