MINOR: Added lable to EditableEmailField

This commit is contained in:
Saophalkun Ponlu 2009-01-23 03:14:57 +00:00
parent 084d20b739
commit 70751f951e

View File

@ -47,7 +47,7 @@ class EditableEmailField extends EditableFormField {
function DefaultField() { function DefaultField() {
$disabled = ($this->readonly) ? " disabled=\"disabled\"" : ''; $disabled = ($this->readonly) ? " disabled=\"disabled\"" : '';
return '<input class="defaultText" name="Fields['.Convert::raw2att( $this->ID ).'][Default]" type="text" value="'.Convert::raw2att( $this->getField('Default') ).'"'.$disabled.' />'; return '<div class="field text"><label class="left">'._t('EditableEmailField.DEFAULTTEXT', 'Default Text').' </label><input class="defaultText" name="Fields['.Convert::raw2att( $this->ID ).'][Default]" type="text" value="'.Convert::raw2att( $this->getField('Default') ).'"'.$disabled.' /></div>';
} }
} }
?> ?>