added headings template function

(cherry picked from commit 02457f00b809282d5fa4be19239a33afb3e927c3)
main
Felix Favre 10 years ago
parent 807e420883
commit 8a51e5d822

@ -32,6 +32,10 @@ function div($class, $content = array(), $id = "") {
return '<div' . $id . ' class="' . $class . '">' . join("\n", $content) . '</div>';
}
function heading($content, $number = 1) {
return "<h" . $number . ">" . $content . "</h" . $number . ">";
}
/**
* Render a toolbar.
*

Loading…
Cancel
Save