From c70e268a2e25855391a53240a9ca783c3a7a94dd Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 13 Dec 2017 17:50:52 +0100 Subject: add fullscreen button to dashboard and update translation to german --- includes/sys_template.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'includes/sys_template.php') diff --git a/includes/sys_template.php b/includes/sys_template.php index b5846e9b..48ec7e8c 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -354,6 +354,19 @@ function button($href, $label, $class = '') return '' . $label . ''; } +/** + * Rendert einen Knopf mit JavaScript onclick Handler + * + * @param string $javascript + * @param string $label + * @param string $class + * @return string + */ +function button_js($javascript, $label, $class = '') +{ + return '' . $label . ''; +} + /** * Rendert einen Knopf mit Glyph * -- cgit v1.2.3-54-g00ecf