diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/group.php | 15 |
1 files changed, 10 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; } |