]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added form_note for notice character count.
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 16 Jul 2009 19:58:43 +0000 (19:58 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 16 Jul 2009 19:58:43 +0000 (19:58 +0000)
http://laconi.ca/trac/ticket/1712

lib/messageform.php

index b8878ec1f9f4d95bb659edb147e1160fc5e10f11..8ea2b36c27b21df3006297edeb2ded887d205d50 100644 (file)
@@ -140,6 +140,12 @@ class MessageForm extends Form
                                               'rows' => 4,
                                               'name' => 'content'),
                             ($this->content) ? $this->content : '');
+        $this->out->elementStart('dl', 'form_note');
+        $this->out->element('dt', null, _('Available characters'));
+        $this->out->element('dd', array('id' => 'notice_text-count'),
+                            '140');
+        $this->out->elementEnd('dl');
+
     }
 
     /**