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