added new method warningMsg()

This commit is contained in:
steinm 2012-12-19 10:17:38 +00:00
parent a521c8db5c
commit aceea1784b

View File

@ -836,6 +836,12 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {
print $this->getImgPath($img);
} /* }}} */
function warningMsg($msg) { /* {{{ */
echo "<div class=\"alert alert-warning\">\n";
echo $msg;
echo "</div>\n";
} /* }}} */
function exitError($pagetitle,$error) { /* {{{ */
$this->htmlStartPage($pagetitle);