diff --git a/includes/sys_template.php b/includes/sys_template.php index 4d4740d9..0e396a40 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -232,7 +232,11 @@ function form_select($name, $label, $values, $selected) { * Rendert ein Formular-Element */ function form_element($label, $input, $for = "") { - return '
' . '' . $input . '
'; + if ($label == '') { + return '
' . $input . '
'; + }else { + return '
' . '' . $input . '
'; + } } /**