silverstripe-framework/forms/EncryptField.php

9 lines
216 B
PHP
Raw Normal View History

<?php
class EncryptField extends TextField {
function Field() {
return "<input class=\"text\" type=\"password\" id=\"" . $this->id() . "\" name=\"{$this->name}\" value=\"" . $this->attrValue() . "\" />";
}
}
?>