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