]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add an anonymous message for the public page
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 03:06:03 +0000 (04:06 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 23 Jan 2009 03:06:03 +0000 (04:06 +0100)
actions/public.php

index c2e90c3b50457895363ca8778a276f5574b37172..395d28819e710b58160d204e5867aa74ed9c2099 100644 (file)
@@ -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');
+    }
 }