|
|
@ -268,6 +268,14 @@ function form_text($name, $label, $value, $disabled = false) {
|
|
|
|
return form_element($label, '<input class="form-control" id="form_' . $name . '" type="text" name="' . $name . '" value="' . htmlspecialchars($value) . '" ' . $disabled . '/>', 'form_' . $name);
|
|
|
|
return form_element($label, '<input class="form-control" id="form_' . $name . '" type="text" name="' . $name . '" value="' . htmlspecialchars($value) . '" ' . $disabled . '/>', 'form_' . $name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Rendert ein Formular-Emailfeld
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Rendert ein Formular-Dateifeld
|
|
|
|
* Rendert ein Formular-Dateifeld
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|