From 08030196ca2c0ff51ac0edd420f0e8046e676623 Mon Sep 17 00:00:00 2001 From: sarven Date: Sat, 24 Jan 2009 03:23:40 +0000 Subject: [PATCH] new group markup in usergroups matching groups --- actions/usergroups.php | 4 +++- theme/base/css/display.css | 4 ++-- theme/default/css/display.css | 2 +- theme/identica/css/display.css | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/actions/usergroups.php b/actions/usergroups.php index 748585e1d0..58cf7eeb60 100644 --- a/actions/usergroups.php +++ b/actions/usergroups.php @@ -119,9 +119,11 @@ class UsergroupsAction 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/theme/base/css/display.css b/theme/base/css/display.css index bee8d829a2..d4e9742b2c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -946,10 +946,10 @@ padding:0; -#groups p { +#new_group { margin-bottom:18px; } -#groups #new_group a { +#new_group a { padding-left:20px; } diff --git a/theme/default/css/display.css b/theme/default/css/display.css index c68b0a3c44..d09204e954 100644 --- a/theme/default/css/display.css +++ b/theme/default/css/display.css @@ -262,7 +262,7 @@ background-color:#fcfcfc; /*END: NOTICES */ -#groups #new_group a { +#new_group a { background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%; } diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index f61d063b69..33d133bd58 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -262,7 +262,7 @@ background-color:#fcfcfc; /*END: NOTICES */ -#groups #new_group a { +#new_group a { background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%; } -- 2.39.5