X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsubscribeform.php;h=c65134e461cc34470400525cd947630ce5bf4c7b;hb=28d02ec8cdd0278c802c8fee30acddecca9ca01f;hp=8b69efd1acdfd8bae2e783652e5b201f841145db;hpb=77790ab7687c6ef6c86f502c27158ef71cdffa76;p=quix0rs-gnu-social.git diff --git a/lib/subscribeform.php b/lib/subscribeform.php index 8b69efd1ac..c65134e461 100644 --- a/lib/subscribeform.php +++ b/lib/subscribeform.php @@ -89,7 +89,7 @@ class SubscribeForm extends Form function formClass() { - return 'form_subscribe'; + return 'form_user_subscribe'; } @@ -104,6 +104,17 @@ class SubscribeForm extends Form return common_local_url('subscribe'); } + + /** + * Legend of the Form + * + * @return void + */ + function formLegend() + { + $this->out->element('legend', null, _('Subscribe to this user')); + } + /** * Data elements of the form * @@ -125,6 +136,6 @@ class SubscribeForm extends Form function formActions() { - $this->out->submit('submit', _('Subscribe')); + $this->out->submit('submit', _('Subscribe'), 'submit', null, _('Subscribe to this user')); } }