]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/blockform.php
automatically handle non-laconica-named databases
[quix0rs-gnu-social.git] / lib / blockform.php
index b7790681d82c14041cb72cc611678347eb391309..af766b8237fbf7127a9f965b21589f81a175d2e5 100644 (file)
@@ -112,6 +112,18 @@ class BlockForm extends Form
         return common_local_url('block');
     }
 
+
+    /**
+     * Legend of the Form
+     *
+     * @return void
+     */
+    function formLegend()
+    {
+        $this->out->element('legend', null, _('Block this user'));
+    }
+
+
     /**
      * Data elements of the form
      *
@@ -138,6 +150,6 @@ class BlockForm extends Form
 
     function formActions()
     {
-        $this->out->submit('submit', _('Block'));
+        $this->out->submit('submit', _('Block'), 'submit', null, _('Block this user'));
     }
 }