X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ffavorform.php;h=f3a7a97569019e0b635c4fdf1f1cf656826ff905;hb=2d063650effb22c90936a4588f44946c69e1d9a1;hp=977f191838d201c6782fe8e65c8b05f31238a589;hpb=8f25e4b48a5a578720baac0bc26dd5b9ba8fe3e3;p=quix0rs-gnu-social.git diff --git a/lib/favorform.php b/lib/favorform.php index 977f191838..f3a7a97569 100644 --- a/lib/favorform.php +++ b/lib/favorform.php @@ -88,7 +88,7 @@ class FavorForm extends Form function action() { - common_local_url('favor'); + return common_local_url('favor'); } /** @@ -111,7 +111,7 @@ class FavorForm extends Form */ function formLegend() { - $this->out->element('legend', null, _('Delete this notice')); + $this->out->element('legend', null, _('Favor this notice')); } @@ -137,7 +137,7 @@ class FavorForm extends Form function formActions() { $this->out->submit('favor-submit-' . $this->notice->id, - _('Favorite')); + _('Favor'), 'submit', null, _('Favor this notice')); } /** @@ -148,6 +148,6 @@ class FavorForm extends Form function formClass() { - return 'notice_favorite'; + return 'form_favor'; } }