change textarea to start and end
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz
This commit is contained in:
parent
30866b71bb
commit
2e07d5cf01
@ -57,9 +57,10 @@ class NewnoticeAction extends Action {
|
|||||||
common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
|
common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
|
||||||
'action' => common_local_url('newnotice')));
|
'action' => common_local_url('newnotice')));
|
||||||
common_element('span', 'nickname', $profile->nickname);
|
common_element('span', 'nickname', $profile->nickname);
|
||||||
common_element('textarea', array('rows' => 4, 'cols' => 80,
|
common_start_element('textarea', array('rows' => 4, 'cols' => 80,
|
||||||
'name' => 'content',
|
'name' => 'content',
|
||||||
'id' => 'content'));
|
'id' => 'content'));
|
||||||
|
common_end_element('textarea');
|
||||||
common_element('input', array('type' => 'submit', 'value' => 'Send'));
|
common_element('input', array('type' => 'submit', 'value' => 'Send'));
|
||||||
common_element_end('form');
|
common_element_end('form');
|
||||||
common_show_footer();
|
common_show_footer();
|
||||||
|
@ -83,9 +83,10 @@ class ShowstreamAction extends StreamAction {
|
|||||||
function notice_form() {
|
function notice_form() {
|
||||||
common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
|
common_element_start('form', array('id' => 'newnotice', 'method' => 'POST',
|
||||||
'action' => common_local_url('newnotice')));
|
'action' => common_local_url('newnotice')));
|
||||||
common_element('textarea', array('rows' => 4, 'cols' => 80,
|
common_start_element('textarea', array('rows' => 4, 'cols' => 80,
|
||||||
'name' => 'content',
|
'name' => 'content',
|
||||||
'id' => 'content'));
|
'id' => 'content'));
|
||||||
|
common_end_element('textarea');
|
||||||
common_element('input', array('type' => 'submit', 'value' => 'Send'));
|
common_element('input', array('type' => 'submit', 'value' => 'Send'));
|
||||||
common_element_end('form');
|
common_element_end('form');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user