]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/joinform.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / joinform.php
index 0918133a554ea57cfbab5a7fa3a148caf8979ab7..a1a6189b089b65a1989175bbe62be670bbc7aabb 100644 (file)
@@ -46,13 +46,11 @@ require_once INSTALLDIR.'/lib/form.php';
  *
  * @see      UnsubscribeForm
  */
-
 class JoinForm extends Form
 {
     /**
      * group for user to join
      */
-
     var $group = null;
 
     /**
@@ -61,7 +59,6 @@ class JoinForm extends Form
      * @param HTMLOutputter $out   output channel
      * @param group         $group group to join
      */
-
     function __construct($out=null, $group=null)
     {
         parent::__construct($out);
@@ -74,7 +71,6 @@ class JoinForm extends Form
      *
      * @return string ID of the form
      */
-
     function id()
     {
         return 'group-join-' . $this->group->id;
@@ -85,7 +81,6 @@ class JoinForm extends Form
      *
      * @return string of the form class
      */
-
     function formClass()
     {
         return 'form_group_join ajax';
@@ -96,7 +91,6 @@ class JoinForm extends Form
      *
      * @return string URL of the action
      */
-
     function action()
     {
         return common_local_url('joingroup',
@@ -108,9 +102,9 @@ class JoinForm extends Form
      *
      * @return void
      */
-
     function formActions()
     {
-        $this->out->submit('submit', _('Join'));
+        // TRANS: Button text for joining a group.
+        $this->out->submit('submit', _m('BUTTON','Join'));
     }
 }