We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9c16a5a9 authored by Evan Prodromou's avatar Evan Prodromou

fix calling for textarea elements

darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz
parent 2e07d5cf
......@@ -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();
......
......@@ -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');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment