summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-09 17:34:33 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-09 17:34:33 +0000
commit3aebd847e72e929f05e5d217e037b3ccc9169306 (patch)
treead783f8e4a6adab25b9e1e36aca6023897ccc10f
parent1a126032efbcb265a59f4d682bd072251f857c97 (diff)
Added title and minor CSS cleanup to notice attach
-rw-r--r--lib/noticeform.php3
-rw-r--r--theme/base/css/display.css1
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index 5a6c7cf38..5d7cf194e 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 7eea54eb2..dc275e19f 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 {