]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Anonymous message for group page
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 03:19:03 +0000 (04:19 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 03:19:03 +0000 (04:19 +0100)
actions/showgroup.php

index 8d8fbe6be57ac46da06312f8f50f3df402ff1df4..c693d518b766805fb72e81227fc77745776fa3dd 100644 (file)
@@ -372,4 +372,16 @@ class ShowgroupAction extends Action
 
         $this->elementEnd('div');
     }
+
+    function showAnonymousMessage()
+    {
+               $m = sprintf(_('**%s** is a user group on %%%%site.name%%%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
+                       'based on the Free Software [Laconica](http://laconi.ca/) tool. Its members share ' .
+                       'short messages about their life and interests. '.
+                       '[Join now](%%%%action.register%%%%) to become part of this group and many more! ([Read more](%%%%doc.help%%%%))'),
+                     $this->group->nickname);
+        $this->elementStart('p', 'anonymous');
+        $this->raw(common_markup_to_html($m));
+        $this->elementEnd('p');
+    }
 }