]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/disfavorform.php
add bookmarklet to main help
[quix0rs-gnu-social.git] / lib / disfavorform.php
index d0c3b183290512137864b2d9876c13b391fa2a8a..45a9ddb1d42bc4d3a07f41a4453c70d1571132b1 100644 (file)
@@ -103,6 +103,18 @@ class DisfavorForm extends Form
                            common_session_token());
     }
 
+
+    /**
+     * Legend of the Form
+     *
+     * @return void
+     */
+    function formLegend()
+    {
+        $this->out->element('legend', null, _('Disfavor this notice'));
+    }
+
+
     /**
      * Data elements
      *
@@ -125,7 +137,7 @@ class DisfavorForm extends Form
     function formActions()
     {
         $this->out->submit('disfavor-submit-' . $this->notice->id,
-                           _('Disfavor favorite'));
+                           _('Disfavor favorite'), 'submit', null, _('Disfavor this notice'));
     }
     
     /**