aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topbar_tools.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation/topbar_tools.php')
-rw-r--r--views/default/navigation/topbar_tools.php68
1 files changed, 8 insertions, 60 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index e9b40b5c3..307f03fc6 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -1,61 +1,9 @@
<?php
-
- /**
- * Elgg standard tools drop down
- * This will be populated depending on the plugins active - only plugin navigation will appear here
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- *
- */
-
- $menu = get_register('menu');
-
- //var_export($menu);
-
- if (is_array($menu) && sizeof($menu) > 0) {
-
-?>
-
-<ul id="tools_menu">
- <li><a href="#">Tools</a>
- <ul>
- <?php
-
- foreach($menu as $item) {
-
- echo "<li><a href=\"{$item->value}\">" . $item->name . "</a></li>";
-
- }
-
- ?>
- </ul>
- </li>
-</ul>
-
-<?php
-
- }
-
-?>
-
-<script type="text/javascript">
-function tools_menu(){
-$(" #tools_menu li").hover(function(){
- $(this).parent().parent().parent().find("#tools_menu a").addClass('tools_menu_on');
-
- },function(){
- $(this).parent().parent().parent().find("#tools_menu a").removeClass('tools_menu_on');
- });
-}
-
-
-
- $(document).ready(function(){
- tools_menu();
-});
-</script> \ No newline at end of file
+/**
+ * Empty view for backward compatibility.
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @deprecated 1.8 Extend the topbar menus or the page/elements/topbar view directly
+ */