X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Funsubscribepeopletagform.php;h=dac90af77e333975bdf253c5871e73ab54dd15e8;hb=31b29fde50e9664e1b70064c043879ce87553883;hp=777025c89d187f14c094cd2bed3cf2fa03893af4;hpb=bf121a695a13c2b30abf57ea86afbe1e6c2420a7;p=quix0rs-gnu-social.git diff --git a/lib/unsubscribepeopletagform.php b/lib/unsubscribepeopletagform.php index 777025c89d..dac90af77e 100644 --- a/lib/unsubscribepeopletagform.php +++ b/lib/unsubscribepeopletagform.php @@ -44,13 +44,11 @@ require_once INSTALLDIR.'/lib/form.php'; * * @see UnunsubscribeForm */ - class UnsubscribePeopletagForm extends Form { /** * peopletag for the user to join */ - var $peopletag = null; /** @@ -59,7 +57,6 @@ class UnsubscribePeopletagForm extends Form * @param HTMLOutputter $out output channel * @param peopletag $peopletag peopletag to unsubscribe to */ - function __construct($out=null, $peopletag=null) { parent::__construct($out); @@ -72,7 +69,6 @@ class UnsubscribePeopletagForm extends Form * * @return string ID of the form */ - function id() { return 'peopletag-unsubscribe-' . $this->peopletag->id; @@ -83,7 +79,6 @@ class UnsubscribePeopletagForm extends Form * * @return string of the form class */ - function formClass() { return 'form_peopletag_unsubscribe'; @@ -94,7 +89,6 @@ class UnsubscribePeopletagForm extends Form * * @return string URL of the action */ - function action() { return common_local_url('unsubscribepeopletag', @@ -106,9 +100,9 @@ class UnsubscribePeopletagForm extends Form * * @return void */ - function formActions() { - $this->out->submit('submit', _('Unsubscribe')); + // TRANS: Button text for unsubscribing from a list. + $this->out->submit('submit', _m('BUTTON','Unsubscribe')); } }