X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=3212f382ad56e1a33d53263d3c8783df52e34456;hb=bef643352d573235aedbdd93125e93c42edb306b;hp=7c88bd7b195e19a5bfb60a03db6db4283f21ea2f;hpb=f8dae2bbc9600a4ad474e924dc540491e29e2767;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 7c88bd7b19..3212f382ad 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -148,15 +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->element('label', array('for' => 'notice_data-attach'), _('Upload: ')); - $this->out->element('input', array('id' => 'notice_data-attach', 'type' => 'file', 'name' => 'attach')); - + $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', + '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')); } /**