mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 22:21:27 +00:00
show section for extension only if extension has configuration
This commit is contained in:
parent
7005305a08
commit
1c24059fe9
|
@ -453,6 +453,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
||||||
-->
|
-->
|
||||||
<?php
|
<?php
|
||||||
foreach($GLOBALS['EXT_CONF'] as $extname=>$extconf) {
|
foreach($GLOBALS['EXT_CONF'] as $extname=>$extconf) {
|
||||||
|
if($extconf['config']) {
|
||||||
$this->showRawConfigHeadline("<a name=\"".$extname."\"></a>".$extconf['title']);
|
$this->showRawConfigHeadline("<a name=\"".$extname."\"></a>".$extconf['title']);
|
||||||
foreach($extconf['config'] as $confkey=>$conf) {
|
foreach($extconf['config'] as $confkey=>$conf) {
|
||||||
ob_start();
|
ob_start();
|
||||||
|
@ -547,6 +548,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
||||||
$this->showConfigPlain($conf['title'], isset($conf['help']) ? $conf['help'] : '', $html);
|
$this->showConfigPlain($conf['title'], isset($conf['help']) ? $conf['help'] : '', $html);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$this->showEndPaneContent('extensions', $currenttab);
|
$this->showEndPaneContent('extensions', $currenttab);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user