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