]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/unsubscribeform.php
Added @title to user_action inputs and anchor and form legends
[quix0rs-gnu-social.git] / lib / unsubscribeform.php
index 092369db7bbf6fb64b8344efd4276b59b416b497..ce91a13407a9d8d1db11038d60d8759b5b4fcf65 100644 (file)
@@ -103,6 +103,16 @@ class UnsubscribeForm extends Form
         return common_local_url('unsubscribe');
     }
 
+    /**
+     * Legend of the Form
+     *
+     * @return void
+     */
+    function formLegend()
+    {
+        $this->out->element('legend', null, _('Unsubscribe from this user'));
+    }
+
     /**
      * Data elements of the form
      *
@@ -124,6 +134,6 @@ class UnsubscribeForm extends Form
 
     function formActions()
     {
-        $this->out->submit('submit', _('Unsubscribe'));
+        $this->out->submit('submit', _('Unsubscribe'), 'submit', null, _('Unsubscribe from this user'));
     }
 }