mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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
|
||||
foreach($GLOBALS['EXT_CONF'] as $extname=>$extconf) {
|
||||
if($extconf['config']) {
|
||||
$this->showRawConfigHeadline("<a name=\"".$extname."\"></a>".$extconf['title']);
|
||||
foreach($extconf['config'] as $confkey=>$conf) {
|
||||
ob_start();
|
||||
|
@ -546,7 +547,8 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
|||
$html = ob_get_clean();
|
||||
$this->showConfigPlain($conf['title'], isset($conf['help']) ? $conf['help'] : '', $html);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->showEndPaneContent('extensions', $currenttab);
|
||||
?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user