]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/form.php
Merge ../csarven into uiredesign
[quix0rs-gnu-social.git] / lib / form.php
index 5c75bb65fa20747a80aeda4f748fda7475ae990c..bd68fb0c5f69cecbf000c4c1fe2e00339d83ad0b 100644 (file)
@@ -65,6 +65,7 @@ class Form extends Widget
     {
         $this->out->elementStart('form',
                                  array('id' => $this->id(),
+                                      'class' => $this->formClass(),
                                        'method' => 'POST',
                                        'action' => $this->action()));
         $this->out->elementStart('fieldset');
@@ -153,4 +154,15 @@ class Form extends Widget
     function action()
     {
     }
+    
+    /**
+     * Class of the form.
+     *
+     * @return string the form's class
+     */
+
+    function formClass()
+    {
+       return 'form';
+    }
 }