submit doesn't need a paragraph wrapper
function formActions()
{
$this->out->submit('favor-submit-' . $this->notice->id,
- _('Make a favorite'));
+ _('Favorite'));
}
/**
function formClass()
{
- return 'favor';
+ return 'notice_favorite';
}
-}
\ No newline at end of file
+}
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');
}
/**