]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/favorform.php
don't over specialize URLs
[quix0rs-gnu-social.git] / lib / favorform.php
index 519b305b6fcffa59aed5df30537ccea4d4141eb2..f3a7a97569019e0b635c4fdf1f1cf656826ff905 100644 (file)
@@ -88,7 +88,7 @@ class FavorForm extends Form
 
     function action()
     {
-        common_local_url('favor');
+        return common_local_url('favor');
     }
 
     /**
@@ -137,7 +137,7 @@ class FavorForm extends Form
     function formActions()
     {
         $this->out->submit('favor-submit-' . $this->notice->id,
-                           _('Favor this notice'));
+                           _('Favor'), 'submit', null, _('Favor this notice'));
     }
     
     /**
@@ -148,6 +148,6 @@ class FavorForm extends Form
     
     function formClass()
     {
-       return 'notice_favorite';
+        return 'form_favor';
     }
 }