]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/unblockform.php
Merge branch 'candrews-review' into 0.8.x
[quix0rs-gnu-social.git] / lib / unblockform.php
index 4cb9ae4f5d29d5ace1ce80da3f6758ffaab7cdf3..6a8831b291e1a3a72968845e18aaa1482d3c2788 100644 (file)
@@ -88,6 +88,17 @@ class UnblockForm extends Form
         return 'unblock-' . $this->profile->id;
     }
 
+    /**
+     * class of the form
+     *
+     * @return string class of the form
+     */
+
+    function formClass()
+    {
+        return 'form_user_unblock';
+    }
+
     /**
      * Action of the form
      *
@@ -99,6 +110,17 @@ class UnblockForm extends Form
         return common_local_url('unblock');
     }
 
+    /**
+     * Legend of the Form
+     *
+     * @return void
+     */
+    function formLegend()
+    {
+        $this->out->element('legend', null, _('Unblock this user'));
+    }
+
+
     /**
      * Data elements of the form
      *
@@ -125,6 +147,6 @@ class UnblockForm extends Form
 
     function formActions()
     {
-        $this->out->submit('submit', _('Unblock'));
+        $this->out->submit('submit', _('Unblock'), 'submit', null, _('Unblock this user'));
     }
-}
\ No newline at end of file
+}