Added title and minor CSS cleanup to notice attach

This commit is contained in:
Sarven Capadisli 2009-06-09 17:34:33 +00:00
parent 1a126032ef
commit 3aebd847e7
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,8 @@ class NoticeForm extends Form
$this->out->element('label', array('for' => 'notice_data-attach'), _('Attach')); $this->out->element('label', array('for' => 'notice_data-attach'), _('Attach'));
$this->out->element('input', array('id' => 'notice_data-attach', $this->out->element('input', array('id' => 'notice_data-attach',
'type' => 'file', 'type' => 'file',
'name' => 'attach')); 'name' => 'attach',
'title' => _('Attach a file')));
if ($this->action) { if ($this->action) {
$this->out->hidden('notice_return-to', $this->action, 'returnto'); $this->out->hidden('notice_return-to', $this->action, 'returnto');
} }

View File

@ -454,7 +454,6 @@ margin-bottom:7px;
} }
#form_notice label[for=notice_data-attach] { #form_notice label[for=notice_data-attach] {
text-indent:-9999px; text-indent:-9999px;
display:block;
} }
#form_notice label[for=notice_data-attach], #form_notice label[for=notice_data-attach],
#form_notice #notice_data-attach { #form_notice #notice_data-attach {