static function notice($sMessage, $sTitle = "", $bClose = true)
{
$sClose = "";
if ($sTitle !== "") {
$sTitle = '<h3 class="alert-heading">' . $sTitle . '</h3>';
}
if ($bClose === true) {
$sClose = '<a class="close" data-dismiss="alert" href="#">×</a>';
}
$sHtml = <<<HTML
<div id="message" class="alert alert-info">
\t{$sClose}
\t{$sTitle}
\t{$sMessage}
</div>
HTML;
return $sHtml;
}
function render() { $oView = new \BaikalAdmin\View\Settings\System(); $oView->setData("message", \Formal\Core\Message::notice("Do not change anything on this page unless you really know what you are doing.<br />You might break Baïkal if you misconfigure something here.", "Warning !", false)); $oView->setData("form", $this->oForm->render()); return $oView->render(); }