summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/sys_template.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index 8a06fff9..d7017bd9 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -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.
*