From 2d587478a1094969fbb44bde29b34b034868db70 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Mon, 22 Dec 2014 20:06:37 +0100 Subject: fix different bugs with shift types --- includes/sys_template.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'includes/sys_template.php') diff --git a/includes/sys_template.php b/includes/sys_template.php index 56751e16..7ffe1529 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -9,6 +9,15 @@ $themes = array( "2" => "Engelsystem 31c3" ); +/** + * Display muted (grey) text. + * + * @param string $text + */ +function mute($text) { + return '' . $text . ''; +} + function progress_bar($valuemin, $valuemax, $valuenow, $class = '', $content = '') { return '
' . $content . '
'; } @@ -195,7 +204,7 @@ function form_radio($name, $label, $selected, $value) { */ function form_info($label, $text = "") { if ($label == "") - return '' . $text . ''; + return '' . glyph('info-sign') . $text . ''; if ($text == "") return '

' . $label . '

'; return form_element($label, '

' . $text . '

', ''); -- cgit v1.2.3-54-g00ecf