* code for task #7939.

This commit is contained in:
z
2020-09-23 15:05:45 +08:00
parent 103a6d6011
commit 3fa53be319
5 changed files with 7 additions and 3 deletions
+1
View File
@@ -342,6 +342,7 @@ class baseHTML
*/
static public function password($name, $value = "", $attrib = "")
{
if(strpos($attrib, 'autocomplete') === false) $attrib .= " autocomplete='off'";
return "<input type='password' name='$name' id='$name' value='$value' $attrib />\n";
}