summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 09:32:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 09:32:20 -0400
commit9c16a5a9ef7feee2e5db24032f17e43715814e8c (patch)
treec52708f1fdde5043894332e204f06bc738766677 /actions
parent2e07d5cf01320d19e051a65d6ffd59a218c3ea0d (diff)
fix calling for textarea elements
darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php4
-rw-r--r--actions/showstream.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index bc177de98..80630cdb1 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -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();
diff --git a/actions/showstream.php b/actions/showstream.php
index fff7c9f56..fe561680a 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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');
}