forked from GNUsocial/gnu-social
Add an anonymous message for the public page
This commit is contained in:
parent
21d156c05b
commit
59e386db45
@ -209,4 +209,14 @@ class PublicAction extends Action
|
|||||||
$feat = new FeaturedUsersSection($this);
|
$feat = new FeaturedUsersSection($this);
|
||||||
$feat->show();
|
$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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user