diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-23 04:19:03 +0100 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-23 04:19:03 +0100 |
commit | 3c8f41deb0f45ebad467cb3b4a8faab214d7ee49 (patch) | |
tree | b8e5821d2984be45495699dbf69ada043b927a99 | |
parent | b09a58e8dc07995398baa79f0e90df7698780f4d (diff) |
Anonymous message for group page
-rw-r--r-- | actions/showgroup.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php index 8d8fbe6be..c693d518b 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -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'); + } } |