full end element, no space in textarea
darcs-hash:20080702130029-84dde-481fe1f3d7df5cc931010374a7eb8db4f179cf92.gz
This commit is contained in:
parent
4ee649058f
commit
8c1ac74f7c
|
@ -94,7 +94,8 @@ function common_element_start($tag, $attrs=NULL) {
|
||||||
|
|
||||||
function common_element_end($tag) {
|
function common_element_end($tag) {
|
||||||
global $xw;
|
global $xw;
|
||||||
$xw->endElement();
|
# TODO: switch based on $tag
|
||||||
|
$xw->fullEndElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
function common_element($tag, $attrs=NULL, $content=NULL) {
|
function common_element($tag, $attrs=NULL, $content=NULL) {
|
||||||
|
@ -838,7 +839,7 @@ function common_notice_form($action=NULL, $content=NULL) {
|
||||||
common_element('span', array('id' => 'counter', 'class' => 'counter'), '140');
|
common_element('span', array('id' => 'counter', 'class' => 'counter'), '140');
|
||||||
common_element('textarea', array('id' => 'status_textarea',
|
common_element('textarea', array('id' => 'status_textarea',
|
||||||
'name' => 'status_textarea'),
|
'name' => 'status_textarea'),
|
||||||
($content) ? $content : ' ');
|
($content) ? $content : '');
|
||||||
if ($action) {
|
if ($action) {
|
||||||
common_hidden('returnto', $action);
|
common_hidden('returnto', $action);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user