diff --git a/config/config_custom.php.dist b/config/config_custom.php.dist index 7b67a202d00acf49fe30daa8531e28b951ceba9f..a22106245a9f4a0aece30807a312b575b6881a46 100644 --- a/config/config_custom.php.dist +++ b/config/config_custom.php.dist @@ -25,6 +25,8 @@ return [ ] ], + 'banner' => '', + // ---------------------------------------------------------------------- 'phases' => [ diff --git a/config/config_defaults.php b/config/config_defaults.php index cde5fc3f7299bb8c0de3dd91d7f04b6005bc63e4..0cb6c90ef8f35e80fdb14959f0cbdedd9ec3d27a 100644 --- a/config/config_defaults.php +++ b/config/config_defaults.php @@ -63,6 +63,7 @@ return [ 'ip'=> ['127.0.0.1'], ], 'projectgroups' => [], + 'banner' => '', // ---------------------------------------------------------------------- // build settings diff --git a/public_html/deployment/index.php b/public_html/deployment/index.php index 82384c6ba4d970b65cb520a4f08cce2ed8d6685a..fb620a3611ab019796f9d15d29fc84a3c812eada 100644 --- a/public_html/deployment/index.php +++ b/public_html/deployment/index.php @@ -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">