summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php2
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);
}