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%; }