forked from GNUsocial/gnu-social
notice_favorite class
submit doesn't need a paragraph wrapper
This commit is contained in:
@@ -324,13 +324,11 @@ class HTMLOutputter extends XMLOutputter
|
||||
|
||||
function submit($id, $label, $cls='submit', $name=null)
|
||||
{
|
||||
$this->elementStart('p');
|
||||
$this->element('input', array('type' => 'submit',
|
||||
'id' => $id,
|
||||
'name' => ($name) ? $name : $id,
|
||||
'class' => $cls,
|
||||
'value' => $label));
|
||||
$this->elementEnd('p');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user