X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=4e2a2edd61ff78c085d46e5c7419228e7a83a57a;hb=ae2bc6a8500f2878ed376f60c81c3c53c8ab5b87;hp=a36b7f31f752047e733f9d5fd41865923e283522;hpb=420e8994f8f62c22073e70e081daadfa2d8d7c06;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index a36b7f31f7..4e2a2edd61 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -151,12 +151,12 @@ class NoticeForm extends Form '140'); $this->out->elementEnd('dl'); if (common_config('attachments', 'uploads')) { - $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'))); + $this->out->hidden('MAX_FILE_SIZE', common_config('attachments', 'file_quota')); } if ($this->action) { $this->out->hidden('notice_return-to', $this->action, 'returnto');