]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/favorform.php
Merge branch '0.7.x' of git://gitorious.org/laconica/mgrdcm-twitapibools into review...
[quix0rs-gnu-social.git] / lib / favorform.php
index 977f191838d201c6782fe8e65c8b05f31238a589..f3a7a97569019e0b635c4fdf1f1cf656826ff905 100644 (file)
@@ -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';
     }
 }