X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Funsubscribeform.php;h=ce91a13407a9d8d1db11038d60d8759b5b4fcf65;hb=2d063650effb22c90936a4588f44946c69e1d9a1;hp=092369db7bbf6fb64b8344efd4276b59b416b497;hpb=bb4a6a514bb62a0fef2314512c121951a40437e7;p=quix0rs-gnu-social.git diff --git a/lib/unsubscribeform.php b/lib/unsubscribeform.php index 092369db7b..ce91a13407 100644 --- a/lib/unsubscribeform.php +++ b/lib/unsubscribeform.php @@ -103,6 +103,16 @@ class UnsubscribeForm extends Form 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 * @@ -124,6 +134,6 @@ class UnsubscribeForm extends Form function formActions() { - $this->out->submit('submit', _('Unsubscribe')); + $this->out->submit('submit', _('Unsubscribe'), 'submit', null, _('Unsubscribe from this user')); } }