]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/messageform.php
Add reply_to to make conversations in createsim.php
[quix0rs-gnu-social.git] / lib / messageform.php
index 9d3f955a8114d3b4f9df30594bbbf7e57776c66c..733e83cd15ea09044b5273f955de1885c6cf0c09 100644 (file)
@@ -96,7 +96,7 @@ class MessageForm extends Form
 
     function formClass()
     {
-        return 'form_notice';
+        return 'form_notice ajax-notice';
     }
 
     /**
@@ -153,7 +153,7 @@ class MessageForm extends Form
         $this->out->dropdown('to', _('To'), $mutual, null, false,
                              ($this->to) ? $this->to->id : null);
 
-        $this->out->element('textarea', array('id' => 'notice_data-text',
+        $this->out->element('textarea', array('class' => 'notice_data-text',
                                               'cols' => 35,
                                               'rows' => 4,
                                               'name' => 'content'),
@@ -162,11 +162,9 @@ class MessageForm extends Form
         $contentLimit = Message::maxContent();
 
         if ($contentLimit > 0) {
-            $this->out->elementStart('dl', 'form_note');
-            $this->out->element('dt', null, _('Available characters'));
-            $this->out->element('dd', array('id' => 'notice_text-count'),
+            $this->out->element('span',
+                                array('class' => 'count'),
                                 $contentLimit);
-            $this->out->elementEnd('dl');
         }
     }