]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix calling for textarea elements
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 13:32:20 +0000 (09:32 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 13:32:20 +0000 (09:32 -0400)
darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz

actions/newnotice.php
actions/showstream.php

index bc177de981c0733dcb46b4270c8da7a17234dc36..80630cdb19a588a7d2b7d43f15269b924e343131 100644 (file)
@@ -57,10 +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_start_element('textarea', array('rows' => 4, 'cols' => 80,
+               common_element_start('textarea', array('rows' => 4, 'cols' => 80,
                                                                                           'name' => 'content',
                                                                                           'id' => 'content'));
-               common_end_element('textarea');
+               common_element_end('textarea');
                common_element('input', array('type' => 'submit', 'value' => 'Send'));
                common_element_end('form');
                common_show_footer();
index fff7c9f56c50bc64981a141293503b563c0ce107..fe561680afa0135d858ee69f56b307c615570aa1 100644 (file)
@@ -83,10 +83,10 @@ class ShowstreamAction extends StreamAction {
        function notice_form() {
                common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
                                                                                   'action' => common_local_url('newnotice')));
-               common_start_element('textarea', array('rows' => 4, 'cols' => 80,
+               common_element_start('textarea', array('rows' => 4, 'cols' => 80,
                                                                                           'name' => 'content',
                                                                                           'id' => 'content'));
-               common_end_element('textarea');
+               common_element_end('textarea');
                common_element('input', array('type' => 'submit', 'value' => 'Send'));
                common_element_end('form');
        }