]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change textarea to start and end
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 13:30:08 +0000 (09:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 13:30:08 +0000 (09:30 -0400)
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz

actions/newnotice.php
actions/showstream.php

index dd1f71b41082ef1ee41e860323a4e9aeb57d04d6..bc177de981c0733dcb46b4270c8da7a17234dc36 100644 (file)
@@ -57,9 +57,10 @@ class NewnoticeAction extends Action {
                common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
                                                                                   'action' => common_local_url('newnotice')));
                common_element('span', 'nickname', $profile->nickname);
-               common_element('textarea', array('rows' => 4, 'cols' => 80,
-                                                                                'name' => 'content', 
-                                                                                'id' => 'content'));
+               common_start_element('textarea', array('rows' => 4, 'cols' => 80,
+                                                                                          'name' => 'content',
+                                                                                          'id' => 'content'));
+               common_end_element('textarea');
                common_element('input', array('type' => 'submit', 'value' => 'Send'));
                common_element_end('form');
                common_show_footer();
index 094a7efbbd76f127c0acc07b30bad4f67735223f..fff7c9f56c50bc64981a141293503b563c0ce107 100644 (file)
@@ -83,9 +83,10 @@ class ShowstreamAction extends StreamAction {
        function notice_form() {
                common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
                                                                                   'action' => common_local_url('newnotice')));
-               common_element('textarea', array('rows' => 4, 'cols' => 80,
-                                                                                'name' => 'content',
-                                                                                'id' => 'content'));
+               common_start_element('textarea', array('rows' => 4, 'cols' => 80,
+                                                                                          'name' => 'content',
+                                                                                          'id' => 'content'));
+               common_end_element('textarea');
                common_element('input', array('type' => 'submit', 'value' => 'Send'));
                common_element_end('form');
        }