From de65cd64e11735580a8ed8ab41d013295b58e082 Mon Sep 17 00:00:00 2001 From: Felix Favre Date: Sat, 6 Dec 2014 17:41:16 +0100 Subject: add very cool button_glyph helper --- includes/sys_template.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'includes') diff --git a/includes/sys_template.php b/includes/sys_template.php index 04826c3d..4d4740d9 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -306,6 +306,13 @@ function button($href, $label, $class = "") { return '' . $label . ''; } +/** + * Rendert einen Knopf mit Glyph + */ + function button_glyph($href, $glyph, $class= "") { + return button($href, glyph($glyph), $class); + } + /** * Rendert eine Toolbar mit Knöpfen */ -- cgit v1.2.3-54-g00ecf