function action()
{
- common_local_url('favor');
+ return common_local_url('favor');
}
/**
*/
function formLegend()
{
- $this->out->element('legend', null, _('Delete this notice'));
+ $this->out->element('legend', null, _('Favor this notice'));
}
function formActions()
{
$this->out->submit('favor-submit-' . $this->notice->id,
- _('Favorite'));
+ _('Favor'), 'submit', null, _('Favor this notice'));
}
/**
function formClass()
{
- return 'notice_favorite';
+ return 'form_favor';
}
}