From 9b372f5bb7638d5d9b4e48ae425d921bc8559235 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 16 Jul 2009 19:58:43 +0000 Subject: [PATCH] Added form_note for notice character count. http://laconi.ca/trac/ticket/1712 --- lib/messageform.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/messageform.php b/lib/messageform.php index b8878ec1f9..8ea2b36c27 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'); + } /** -- 2.39.5