From 7c7b2d3b54084319ed0d6392f9ea13e00173f011 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 29 Dec 2012 13:58:59 +0100 Subject: polished code and display of shiftview and used more icons --- includes/sys_template.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'includes/sys_template.php') diff --git a/includes/sys_template.php b/includes/sys_template.php index 0f030e86..a120bb2d 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -233,4 +233,9 @@ function html_select_key($id, $name, $rows, $selected) { $html .= ''; return $html; } + +function img_button($link, $icon, $text, $extra_text = '') { + $translation = empty($text)? '' : Get_Text($text); + return '' . $translation . '' . (empty($extra_text)? '' : ' ' . $extra_text) . ''; +} ?> -- cgit v1.2.3-54-g00ecf