diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-08-28 20:40:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-08-28 20:40:35 +0000 |
commit | a8bfbe76083553b668dfa2a6161f9a31c511bc7d (patch) | |
tree | e4467dfa2b4dfcdaf9209daa37614e2e05c2b37e | |
parent | 4d3da2bfec9fde4f7c821f765af2d5c172d63f91 (diff) | |
download | brdo-a8bfbe76083553b668dfa2a6161f9a31c511bc7d.tar.gz brdo-a8bfbe76083553b668dfa2a6161f9a31c511bc7d.tar.bz2 |
- common.inc:
+ added a form_password() function
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index b7c382893..1a0b06a5b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -258,6 +258,10 @@ function form_textfield($title, $name, $value, $size, $maxlength, $description = return form_item($title, "<input maxlength=\"$maxlength\" name=\"edit[$name]\" size=\"$size\" value=\"". check_form($value) ."\" />", $description); } +function form_password($title, $name, $value, $size, $maxlength, $description = 0) { + return form_item($title, "<input type=\"password\" maxlength=\"$maxlength\" name=\"edit[$name]\" size=\"$size\" value=\"". check_form($value) ."\" />", $description); +} + function form_textarea($title, $name, $value, $cols, $rows, $description = 0) { return form_item($title, "<textarea wrap=\"virtual\" cols=\"$cols\" rows=\"$rows\" name=\"edit[$name]\">". check_form($value) ."</textarea>", $description); } |