function formActions()
{
$this->out->submit('favor-submit-' . $this->notice->id,
- _('Favor this notice'));
+ _('Favor'), 'submit', null, _('Favor this notice'));
}
/**
* @todo add a $name parameter
*/
- function submit($id, $label, $cls='submit', $name=null)
+ function submit($id, $label, $cls='submit', $name=null, $title=null)
{
$this->element('input', array('type' => 'submit',
'id' => $id,
'name' => ($name) ? $name : $id,
'class' => $cls,
'value' => $label,
- 'title' => $label));
+ 'title' => $title));
}
/**