summaryrefslogtreecommitdiff
path: root/lib/messageform.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-16 19:58:43 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-16 19:58:43 +0000
commit9b372f5bb7638d5d9b4e48ae425d921bc8559235 (patch)
treec168c22126d9ab207cc9e47396f7ab4a84651967 /lib/messageform.php
parent350a342509775ace6228074aa4bd514ad7dfc62d (diff)
Added form_note for notice character count.
http://laconi.ca/trac/ticket/1712
Diffstat (limited to 'lib/messageform.php')
-rw-r--r--lib/messageform.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/messageform.php b/lib/messageform.php
index b8878ec1f..8ea2b36c2 100644
--- a/lib/messageform.php
+++ b/lib/messageform.php
@@ -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');
+
}
/**