Removed TextField_Disabled - this is unnecessary

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64343 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-16 02:34:31 +00:00
parent 9ba71a54da
commit 8a385d9fc0

View File

@ -37,22 +37,4 @@ class TextField extends FormField {
}
class TextField_Disabled extends TextField{
function Field() {
$attributes = array(
'type' => 'text',
'class' => $this->extraClass() . ' text',
'id' => $this->id(),
'name' => $this->Name(),
'value' => $this->Value(),
'tabindex' => $this->getTabIndex(),
'maxlength' => ($this->maxLength) ? $this->maxLength : null,
'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : null,
'disabled' => 'disabled'
);
return $this->createTag('input', $attributes);
}
}
?>