mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
more bootstrap markup
This commit is contained in:
parent
8f7b604c9d
commit
e3fe3e469f
|
@ -381,30 +381,28 @@ class UI_Default {
|
|||
|
||||
function contentContainerStart() { /* {{{ */
|
||||
|
||||
echo "<div class=\"contentContainer\">\n";
|
||||
echo "<div class=\"content\">\n";
|
||||
echo "<div class=\"content-l\"><div class=\"content-r\"><div class=\"content-br\"><div class=\"content-bl\">\n";
|
||||
echo "<div class=\"well".($class ? " ".$class : "")."\">\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
function contentContainerEnd() { /* {{{ */
|
||||
|
||||
echo "</div></div></div></div>\n</div>\n</div>\n";
|
||||
echo "</div>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
function contentHeading($heading, $noescape=false) { /* {{{ */
|
||||
|
||||
if($noescape)
|
||||
echo "<div class=\"contentHeading\">".$heading."</div>\n";
|
||||
echo "<legend>".$heading."</legend>\n";
|
||||
else
|
||||
echo "<div class=\"contentHeading\">".htmlspecialchars($heading)."</div>\n";
|
||||
echo "<legend>".htmlspecialchars($heading)."</legend>\n";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
function contentSubHeading($heading, $first=false) { /* {{{ */
|
||||
|
||||
echo "<div class=\"contentSubHeading\"".($first ? " id=\"first\"" : "").">".htmlspecialchars($heading)."</div>\n";
|
||||
echo "<h5>".$heading."</h5>";
|
||||
return;
|
||||
} /* }}} */
|
||||
|
||||
|
@ -644,6 +642,12 @@ class UI_Default {
|
|||
print UI::getImgPath($img);
|
||||
} /* }}} */
|
||||
|
||||
function errorMsg($msg) { /* {{{ */
|
||||
echo "<div class=\"alert alert-error\">\n";
|
||||
echo $msg;
|
||||
echo "</div>\n";
|
||||
} /* }}} */
|
||||
|
||||
static function exitError($pagetitle,$error) { /* {{{ */
|
||||
|
||||
UI::htmlStartPage($pagetitle);
|
||||
|
|
Loading…
Reference in New Issue
Block a user