summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorgnomus <kontakt@gnomus.de>2015-08-16 21:05:27 +0200
committergnomus <kontakt@gnomus.de>2015-08-16 21:05:27 +0200
commita67237d0ef1a1697a99180ae99bd64cc05c40d30 (patch)
tree7b33efdbb60807d5bb462d30e0847c64ea639228 /includes
parent73197995d75970f6054dfff9f48d2845245e1dab (diff)
Named Function Correctly
Diffstat (limited to 'includes')
-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);
}