aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/group.php15
-rw-r--r--view/theme/duepuntozero/style.css4
-rw-r--r--view/theme/loozah/style.css12
3 files changed, 26 insertions, 5 deletions
diff --git a/include/group.php b/include/group.php
index da4d41748..e16c900d9 100644
--- a/include/group.php
+++ b/include/group.php
@@ -151,10 +151,6 @@ $o .= <<< EOT
<div id="group-sidebar">
<h3>Groups</h3>
-<div id="sidebar-new-group">
-<a href="group/new">$createtext</a>
-</div>
-
<div id="sidebar-group-list">
<ul id="sidebar-group-ul">
<li class="sidebar-group-li" ><a href="$every" $selected >$linktext</a></li>
@@ -170,7 +166,16 @@ EOT;
$o .= ' <li class="sidebar-group-li">' . (($edit) ? "<a href=\"group/{$rr['id']}\" title=\"" . t('Edit') . "\" ><img src=\"images/spencil.gif\" alt=\"" . t('Edit') . "\"></a> " : "") . "<a href=\"$each/{$rr['id']}\" $selected >{$rr['name']}</a></li>\r\n";
}
}
- $o .= " </ul>\r\n </div>\r\n</div>";
+ $o .= " </ul>\r\n </div>";
+
+ $o .= <<< EOT
+
+ <div id="sidebar-new-group">
+ <a href="group/new">$createtext</a>
+ </div>
+</div>
+
+EOT;
return $o;
}
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 2b0ee93e6..5595045b8 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -249,6 +249,10 @@ div.wall-item-content-wrapper.shiny {
cursor: pointer;
}
+#group-sidebar {
+ margin-bottom: 10px;
+}
+
.group-selected {
padding: 3px;
border: 1px solid #CCCCCC;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 7802d176d..d2b6441ac 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -137,6 +137,18 @@ blockquote:before {
cursor: pointer;
}
+
+#group-sidebar {
+ margin-bottom: 10px;
+}
+
+.group-selected {
+ padding: 3px;
+ border: 1px solid #CCCCCC;
+ background: #F8F8F8;
+ font-weight: bold;
+}
+
.fakelink:hover {
color: #0CBEFE;
text-decoration: none;