Password can accept a value as well.
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Mar 2004 16:04:53 +0000 (16:04 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Mar 2004 16:04:53 +0000 (16:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6984 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/forms.php

index bf540d1dc87457e3c02f57098356b289e0170cd4..4ddc32d9693e1a7c9490f1c1c603b5d36268ca3c 100644 (file)
@@ -26,8 +26,8 @@ function addInputField($type, $name = null, $value = null, $attributes = '') {
 /**
  * Password input field
  */
-function addPwField($name) {
-    return addInputField('password', $name);
+function addPwField($name , $value = null) {
+    return addInputField('password', $name , $value);
 }