summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2014-12-06 17:41:16 +0100
committerFelix Favre <gnomus@gnomus.de>2014-12-06 17:41:16 +0100
commitde65cd64e11735580a8ed8ab41d013295b58e082 (patch)
tree8b9686bb03c994846ef0a48ef655f2517e89f477
parent2654fcf2288e67c1272b3713d4ea185b971f3882 (diff)
add very cool button_glyph helper
-rw-r--r--includes/sys_template.php7
1 files changed, 7 insertions, 0 deletions
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
@@ -307,6 +307,13 @@ function button($href, $label, $class = "") {
}
/**
+ * Rendert einen Knopf mit Glyph
+ */
+ function button_glyph($href, $glyph, $class= "") {
+ return button($href, glyph($glyph), $class);
+ }
+
+/**
* Rendert eine Toolbar mit Knöpfen
*/
function buttons($buttons = array ()) {