Skip to content
Snippets Groups Projects
Commit df017dfb authored by hahn's avatar hahn
Browse files

add banner on all pages

parent 7d2f7ba5
No related branches found
No related tags found
1 merge request!195534 add docker
......@@ -25,6 +25,8 @@ return [
]
],
'banner' => '',
// ----------------------------------------------------------------------
'phases' => [
......
......@@ -63,6 +63,7 @@ return [
'ip'=> ['127.0.0.1'],
],
'projectgroups' => [],
'banner' => '',
// ----------------------------------------------------------------------
// build settings
......
......@@ -69,6 +69,7 @@ foreach ($aConfig["phases"] as $sPhase => $aData) {
}
$sHeader.='</style>';
$sTopArea=getTopArea();
$sBanner=isset($aConfig['banner']) && $aConfig['banner'] ? '<div class="alert alert-info">'.$aConfig['banner'].'</div>' : '';
$sTopAction=getAction();
// ------ action
......@@ -112,9 +113,9 @@ $oCLog->add("Finally: rendering page ...");
$sPhpOut = '
<br>
' . $sTopArea . '
' . $sTopArea .'
<div id="content">
' . $sTopAction . '
' . $sBanner . $sTopAction . '
' . $sPhpOut . '
</div>
<div id="footer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment