From: Sarven Capadisli Date: Tue, 9 Jun 2009 17:34:33 +0000 (+0000) Subject: Added title and minor CSS cleanup to notice attach X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3aebd847e72e929f05e5d217e037b3ccc9169306;p=quix0rs-gnu-social.git Added title and minor CSS cleanup to notice attach --- diff --git a/lib/noticeform.php b/lib/noticeform.php index 5a6c7cf38c..5d7cf194ee 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -151,7 +151,8 @@ class NoticeForm extends Form $this->out->element('label', array('for' => 'notice_data-attach'), _('Attach')); $this->out->element('input', array('id' => 'notice_data-attach', 'type' => 'file', - 'name' => 'attach')); + 'name' => 'attach', + 'title' => _('Attach a file'))); if ($this->action) { $this->out->hidden('notice_return-to', $this->action, 'returnto'); } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 7eea54eb2a..dc275e19f7 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -454,7 +454,6 @@ margin-bottom:7px; } #form_notice label[for=notice_data-attach] { text-indent:-9999px; -display:block; } #form_notice label[for=notice_data-attach], #form_notice #notice_data-attach {