]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscribeform.php
First crack at Twitter-like JSON search results for the API
[quix0rs-gnu-social.git] / lib / subscribeform.php
index 231e740a7283eac7195a8e6440a02a9084e9ad1a..c65134e461cc34470400525cd947630ce5bf4c7b 100644 (file)
@@ -104,6 +104,17 @@ class SubscribeForm extends Form
         return common_local_url('subscribe');
     }
 
+
+    /**
+     * Legend of the Form
+     *
+     * @return void
+     */
+    function formLegend()
+    {
+        $this->out->element('legend', null, _('Subscribe to this user'));
+    }
+
     /**
      * Data elements of the form
      *
@@ -125,6 +136,6 @@ class SubscribeForm extends Form
 
     function formActions()
     {
-        $this->out->submit('submit', _('Subscribe'));
+        $this->out->submit('submit', _('Subscribe'), 'submit', null, _('Subscribe to this user'));
     }
 }