X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=3212f382ad56e1a33d53263d3c8783df52e34456;hb=bef643352d573235aedbdd93125e93c42edb306b;hp=805cd56b131418ba599216c432bef4302bbd3514;hpb=0cbd72e0927cbe9b605e34d7bbd86d2046ea0c49;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 805cd56b13..3212f382ad 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -148,16 +148,16 @@ class NoticeForm extends Form $this->out->element('dd', array('id' => 'notice_text-count'), '140'); $this->out->elementEnd('dl'); - $this->out->element('br', array('style' => 'clear:both')); + $this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota')); $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'); } $this->out->hidden('notice_in-reply-to', $this->action, 'inreplyto'); - $this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota')); } /**