setup_element($a); if ($a["type"]=="password") $this->pass=1; } function self_get($val,$which, &$count) { $str = ""; if (is_array($this->value)) $v = htmlspecialchars($this->value[$which]); else $v = htmlspecialchars($this->value); $n = $this->name . ($this->multiple ? "[]" : ""); $str .= "pass)? " type='password'" : " type='text'"; if ($this->maxlength) $str .= " maxlength='$this->maxlength'"; if ($this->size) $str .= " size='$this->size'"; if ($this->extrahtml) $str .= " $this->extrahtml"; $str .= ">"; $count = 1; return $str; } function self_get_frozen($val,$which, &$count) { $str = ""; if (is_array($this->value)) $v = $this->value[$which]; else $v = $this->value; $n = $this->name . ($this->multiple ? "[]" : ""); $str .= "\n"; $str .= "
$v |