summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-24 03:23:40 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-24 03:23:40 +0000
commit08030196ca2c0ff51ac0edd420f0e8046e676623 (patch)
treef378cf19b15c02f588457ddd2d70065229b10e71
parent0cdaf3e155db84f8b6319406038cc889357fd5d7 (diff)
new group markup in usergroups matching groups
-rw-r--r--actions/usergroups.php4
-rw-r--r--theme/base/css/display.css4
-rw-r--r--theme/default/css/display.css2
-rw-r--r--theme/identica/css/display.css2
4 files changed, 7 insertions, 5 deletions
diff --git a/actions/usergroups.php b/actions/usergroups.php
index 748585e1d..58cf7eeb6 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 bee8d829a..d4e9742b2 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 c68b0a3c4..d09204e95 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 f61d063b6..33d133bd5 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%;
}