]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticeform.php
return count from show
[quix0rs-gnu-social.git] / lib / noticeform.php
index 805cd56b131418ba599216c432bef4302bbd3514..3212f382ad56e1a33d53263d3c8783df52e34456 100644 (file)
@@ -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'));
     }
 
     /**