new group markup in usergroups matching groups

This commit is contained in:
sarven 2009-01-24 03:23:40 +00:00
parent 0cdaf3e155
commit 08030196ca
4 changed files with 7 additions and 5 deletions

View File

@ -119,9 +119,11 @@ class UsergroupsAction extends Action
function showContent() function showContent()
{ {
$this->elementStart('p', array('id' => 'new_group'));
$this->element('a', array('href' => common_local_url('newgroup'), $this->element('a', array('href' => common_local_url('newgroup'),
'id' => 'new_group'), 'class' => 'more'),
_('Create a new group')); _('Create a new group'));
$this->elementEnd('p');
$offset = ($this->page-1) * GROUPS_PER_PAGE; $offset = ($this->page-1) * GROUPS_PER_PAGE;
$limit = GROUPS_PER_PAGE + 1; $limit = GROUPS_PER_PAGE + 1;

View File

@ -946,10 +946,10 @@ padding:0;
#groups p { #new_group {
margin-bottom:18px; margin-bottom:18px;
} }
#groups #new_group a { #new_group a {
padding-left:20px; padding-left:20px;
} }

View File

@ -262,7 +262,7 @@ background-color:#fcfcfc;
/*END: NOTICES */ /*END: NOTICES */
#groups #new_group a { #new_group a {
background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%; background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%;
} }

View File

@ -262,7 +262,7 @@ background-color:#fcfcfc;
/*END: NOTICES */ /*END: NOTICES */
#groups #new_group a { #new_group a {
background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%; background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%;
} }