summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index dc87e94e..e40530d5 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -379,6 +379,17 @@ function button_glyph($href, $glyph, $class = '')
}
/**
+ * Rendert einen Knopf, der zur Hilfe eines bestimmten Themas führt.
+ *
+ * @param string $topic documentation resource (like user/), is appended to documentation url.
+ * @return string
+ */
+function button_help($topic = '')
+{
+ return button(config('documentation_url') . $topic, glyph('question-sign'), 'btn-sm');
+}
+
+/**
* Rendert eine Toolbar mit Knöpfen
*
* @param array $buttons