return 'unblock-' . $this->profile->id;
}
+ /**
+ * class of the form
+ *
+ * @return string class of the form
+ */
+
+ function formClass()
+ {
+ return 'form_user_unblock';
+ }
+
/**
* Action of the form
*
return common_local_url('unblock');
}
+ /**
+ * Legend of the Form
+ *
+ * @return void
+ */
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Unblock this user'));
+ }
+
+
/**
* Data elements of the form
*
function formActions()
{
- $this->out->submit('submit', _('Unblock'));
+ $this->out->submit('submit', _('Unblock'), 'submit', null, _('Unblock this user'));
}
-}
\ No newline at end of file
+}