summaryrefslogtreecommitdiff
path: root/views/default/n1_theme/topbar/groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/n1_theme/topbar/groups.php')
-rw-r--r--views/default/n1_theme/topbar/groups.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/views/default/n1_theme/topbar/groups.php b/views/default/n1_theme/topbar/groups.php
deleted file mode 100644
index b71114d..0000000
--- a/views/default/n1_theme/topbar/groups.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-$content = elgg_list_entities_from_relationship_count(array(
- 'type' => 'group',
- 'relationship' => 'member',
- 'relationship_guid' => elgg_get_logged_in_user_guid(),
- 'list_type' => 'gallery',
- 'inverse_relationship' => false,
- 'full_view' => false,
-));
-if (!$content) {
- $content = elgg_echo('groups:none');
-}
-
-$content .= elgg_view('output/url', array(
- 'text' => elgg_echo('groups:all'),
- 'href' => 'groups/all',
-));
-
-echo "<div class='elgg-module elgg-module-popup hidden clearfix' id='topbar-groups'>$content</div>";