]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscribeform.php
fix hungry match for group name
[quix0rs-gnu-social.git] / lib / subscribeform.php
index fccc3d3012265c6c8dd5575303211368c2e44497..231e740a7283eac7195a8e6440a02a9084e9ad1a 100644 (file)
@@ -50,7 +50,7 @@ require_once INSTALLDIR.'/lib/form.php';
 class SubscribeForm extends Form
 {
     /**
-     * Profile of user to nudge
+     * Profile of user to subscribe to
      */
 
     var $profile = null;
@@ -59,7 +59,7 @@ class SubscribeForm extends Form
      * Constructor
      *
      * @param HTMLOutputter $out     output channel
-     * @param Profile       $profile profile of user to nudge
+     * @param Profile       $profile profile of user to subscribe to
      */
 
     function __construct($out=null, $profile=null)
@@ -80,6 +80,19 @@ class SubscribeForm extends Form
         return 'subscribe-' . $this->profile->id;
     }
 
+
+    /**
+     * class of the form
+     *
+     * @return string of the form class
+     */
+
+    function formClass()
+    {
+        return 'form_user_subscribe';
+    }
+
+
     /**
      * Action of the form
      *
@@ -114,4 +127,4 @@ class SubscribeForm extends Form
     {
         $this->out->submit('submit', _('Subscribe'));
     }
-}
\ No newline at end of file
+}