aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-22 13:31:19 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-22 13:31:19 +0000
commita140ef9c53edb2e249eab2eafccc6eb8c0952dab (patch)
tree84e077e486a56a115a0defb8667f5409456ab470 /mod/pages
parentc8e1a99c0388710806012eaad59e700c0667a4d1 (diff)
downloadelgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.gz
elgg-a140ef9c53edb2e249eab2eafccc6eb8c0952dab.tar.bz2
Updated avatar menu: Removed links to tools, provided a view to extend menu, added @username to menu, cleaned-up and simplified menu generation.
git-svn-id: http://code.elgg.org/elgg/trunk@5467 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages')
-rw-r--r--mod/pages/start.php3
-rw-r--r--mod/pages/views/default/pages/menu.php14
2 files changed, 0 insertions, 17 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index a849807e8..fd9d253f7 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -27,9 +27,6 @@
add_menu(elgg_echo('pages'), $CONFIG->wwwroot . "mod/pages/world.php");
}
- // Extend hover-over menu
- elgg_extend_view('profile/menu/links','pages/menu');
-
// Register a page handler, so we can have nice URLs
register_page_handler('pages','pages_page_handler');
diff --git a/mod/pages/views/default/pages/menu.php b/mod/pages/views/default/pages/menu.php
deleted file mode 100644
index 9c92648ab..000000000
--- a/mod/pages/views/default/pages/menu.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
- /**
- * Elgg Pages: Add group menu
- *
- * @package ElggPages
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
-?>
-<li class="user_menu_pages">
- <a href="<?php echo $vars['url']; ?>pg/pages/owned/<?php echo $vars['entity']->username; ?>"><?php echo elgg_echo("pages"); ?></a>
-</li> \ No newline at end of file