diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:30:08 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:30:08 -0400 |
commit | 2e07d5cf01320d19e051a65d6ffd59a218c3ea0d (patch) | |
tree | cc7aa2bc88c4417e41ae0deb90fe8b54581590af /actions | |
parent | 30866b71bb535ecdcae23619730595d9d55ca26f (diff) |
change textarea to start and end
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/newnotice.php | 7 | ||||
-rw-r--r-- | actions/showstream.php | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index dd1f71b41..bc177de98 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -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(); diff --git a/actions/showstream.php b/actions/showstream.php index 094a7efbb..fff7c9f56 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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'); } |