From 8a51e5d822ce4276e266fefa62c8973344609471 Mon Sep 17 00:00:00 2001 From: Felix Favre Date: Tue, 16 Dec 2014 03:38:30 +0100 Subject: [PATCH] added headings template function (cherry picked from commit 02457f00b809282d5fa4be19239a33afb3e927c3) --- includes/sys_template.php | 4 ++++ 1 file changed, 4 insertions(+) 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 '' . join("\n", $content) . ''; } +function heading($content, $number = 1) { + return "" . $content . ""; +} + /** * Render a toolbar. *