From 961c5af3cec8cf4fc3efe7e80b90ea69e6137cdd Mon Sep 17 00:00:00 2001 From: sarven Date: Fri, 23 Jan 2009 03:47:32 +0000 Subject: Anonymous notice --- actions/groups.php | 4 +++- actions/public.php | 2 +- actions/showstream.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'actions') diff --git a/actions/groups.php b/actions/groups.php index 6faa497fc..261f9b3aa 100644 --- a/actions/groups.php +++ b/actions/groups.php @@ -95,9 +95,11 @@ class GroupsAction extends Action function showContent() { + $this->elementStart('p', array('id' => 'new_group')); $this->element('a', array('href' => common_local_url('newgroup'), - 'id' => 'new_group'), + 'class' => 'more'), _('Create a new group')); + $this->elementEnd('p'); $offset = ($this->page-1) * GROUPS_PER_PAGE; $limit = GROUPS_PER_PAGE + 1; diff --git a/actions/public.php b/actions/public.php index 396b60e83..f5380589a 100644 --- a/actions/public.php +++ b/actions/public.php @@ -215,7 +215,7 @@ class PublicAction extends Action $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('div', 'anonymous'); + $this->elementStart('div', array('id' => 'anon_notice')); $this->raw(common_markup_to_html($m)); $this->elementEnd('div'); } diff --git a/actions/showstream.php b/actions/showstream.php index 3005cdd88..157ccdd0c 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -538,7 +538,7 @@ class ShowstreamAction extends Action 'based on the Free Software [Laconica](http://laconi.ca/) tool. ' . '[Join now](%%%%action.register%%%%) to follow **%s**\'s notices and many more! ([Read more](%%%%doc.help%%%%))'), $this->user->nickname, $this->user->nickname); - $this->elementStart('div', 'anonymous'); + $this->elementStart('div', array('id' => 'anon_notice')); $this->raw(common_markup_to_html($m)); $this->elementEnd('div'); } -- cgit v1.2.3-54-g00ecf