]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/invitebuttonsection.php
better output for registration confirmation
[quix0rs-gnu-social.git] / lib / invitebuttonsection.php
index 8bf450b9912b42aa0ccfcbbbc3cb2a901a935e94..c10817d7a86297605e7fcb02f9e48662281b1be4 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011, StatusNet, Inc.
  *
  * Section for an invite button
- * 
+ *
  * PHP version 5
  *
  * This program is free software: you can redistribute it and/or modify
@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class InviteButtonSection extends Section
 {
     function showTitle()
@@ -54,9 +53,11 @@ class InviteButtonSection extends Section
 
     function showContent()
     {
-        $this->out->element('a', 
-                            array('href' => common_local_url('invite')),
-                            _('Invite more colleagues'));
+        $this->out->element('a',
+                            array('href' => common_local_url('invite'),
+                                  'class' => 'invite_button'),
+                            // TRANS: Button text for inviting more users to the StatusNet instance.
+                            _m('BUTTON','Invite more colleagues'));
         return false;
     }
-}
\ No newline at end of file
+}