diff options
author | gnomus <kontakt@gnomus.de> | 2015-08-16 21:05:27 +0200 |
---|---|---|
committer | gnomus <kontakt@gnomus.de> | 2015-08-16 21:05:27 +0200 |
commit | a67237d0ef1a1697a99180ae99bd64cc05c40d30 (patch) | |
tree | 7b33efdbb60807d5bb462d30e0847c64ea639228 /includes/sys_template.php | |
parent | 73197995d75970f6054dfff9f48d2845245e1dab (diff) |
Named Function Correctly
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r-- | includes/sys_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php index dd5edde7..6beaa57a 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -271,7 +271,7 @@ function form_text($name, $label, $value, $disabled = false) { /** * Rendert ein Formular-Emailfeld */ -function form_text($name, $label, $value, $disabled = false) { +function form_email($name, $label, $value, $disabled = false) { $disabled = $disabled ? ' disabled="disabled"' : ''; return form_element($label, '<input class="form-control" id="form_' . $name . '" type="email" name="' . $name . '" value="' . htmlspecialchars($value) . '" ' . $disabled . '/>', 'form_' . $name); } |