From: Evan Prodromou Date: Fri, 23 Jan 2009 03:06:03 +0000 (+0100) Subject: Add an anonymous message for the public page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=59e386db45f5d75b44afec42f139be146a8838e7;p=quix0rs-gnu-social.git Add an anonymous message for the public page --- diff --git a/actions/public.php b/actions/public.php index c2e90c3b50..395d28819e 100644 --- a/actions/public.php +++ b/actions/public.php @@ -209,4 +209,14 @@ class PublicAction extends Action $feat = new FeaturedUsersSection($this); $feat->show(); } + + function showAnonymousMessage() + { + $m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' . + 'based on the Free Software [Laconica](http://laconi.ca/) tool. ' . + '[Join now](%%action.register%%) to share notices about yourself with friends, family, and colleagues! ([Read more](%%doc.help%%))'); + $this->elementStart('p', 'anonymous'); + $this->raw(common_markup_to_html($m)); + $this->elementEnd('p'); + } }