aboutsummaryrefslogtreecommitdiff
path: root/mod/file
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/file
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/file')
-rw-r--r--mod/file/start.php3
-rw-r--r--mod/file/views/default/file/menu.php16
2 files changed, 0 insertions, 19 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 745f087f4..e3b5497e6 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -36,9 +36,6 @@
// Extend CSS
elgg_extend_view('css', 'file/css');
- // Extend hover-over and profile menu
- elgg_extend_view('profile/menu/links','file/menu');
-
// extend group main page
elgg_extend_view('groups/left_column','file/groupprofile_files');
diff --git a/mod/file/views/default/file/menu.php b/mod/file/views/default/file/menu.php
deleted file mode 100644
index 7cde6b91a..000000000
--- a/mod/file/views/default/file/menu.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
- /**
- * Elgg hoverover extender for file
- *
- * @package ElggFile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
-
-?>
-
- <li class="user_menu_file">
- <a href="<?php echo $vars['url']; ?>pg/file/<?php echo $vars['entity']->username; ?>"><?php echo elgg_echo("file"); ?></a>
- </li> \ No newline at end of file