From 7306545e321fcdd308b14939b8d368bb25fa424b Mon Sep 17 00:00:00 2001 From: gnomus Date: Sun, 16 Aug 2015 20:41:23 +0200 Subject: [PATCH] Add Email Form Helper --- includes/sys_template.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/includes/sys_template.php b/includes/sys_template.php index d3f7a24e..3b6d7d3b 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -225,6 +225,14 @@ function form_text($name, $label, $value, $disabled = false) { return form_element($label, '', 'form_' . $name); } +/** + * Rendert ein Formular-Emailfeld + */ +function form_text($name, $label, $value, $disabled = false) { + $disabled = $disabled ? ' disabled="disabled"' : ''; + return form_element($label, '', 'form_' . $name); +} + /** * Rendert ein Formular-Dateifeld */