function formClass()
{
- return 'form_unsubscribe';
+ return 'form_user_unsubscribe';
}
/**
return common_local_url('unsubscribe');
}
+ /**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Unsubscribe from this user'));
+ }
+
/**
* Data elements of the form
*
function formActions()
{
- $this->out->submit('submit', _('Unsubscribe'));
+ $this->out->submit('submit', _('Unsubscribe'), 'submit', null, _('Unsubscribe from this user'));
}
}