summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-23 04:06:03 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-23 04:06:03 +0100
commit59e386db45f5d75b44afec42f139be146a8838e7 (patch)
treee7a2743c514729dfc77c285379af3cfbdab2faf4 /actions
parent21d156c05b830c54413a5f5a9bb6bdab4b372eb7 (diff)
Add an anonymous message for the public page
Diffstat (limited to 'actions')
-rw-r--r--actions/public.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/actions/public.php b/actions/public.php
index c2e90c3b5..395d28819 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');
+ }
}