We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 59e386db authored by Evan Prodromou's avatar Evan Prodromou

Add an anonymous message for the public page

parent 21d156c0
......@@ -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');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment