aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topbar_tools.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-20 20:21:44 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-20 20:21:44 +0000
commitad745e050da855d326d1b6bc3df8032c05574392 (patch)
treeb6387add3efde9340aac120ab16c727b5f30f278 /views/default/navigation/topbar_tools.php
parent6f8da12756183dc29227b3b4c07650ef293144d0 (diff)
downloadelgg-ad745e050da855d326d1b6bc3df8032c05574392.tar.gz
elgg-ad745e050da855d326d1b6bc3df8032c05574392.tar.bz2
Moved toolbar dropdown menu to main nav.
Added CSS for main nav dropdown. Emptied navigation/topbar_tools view. git-svn-id: http://code.elgg.org/elgg/trunk@5455 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/topbar_tools.php')
-rw-r--r--views/default/navigation/topbar_tools.php34
1 files changed, 1 insertions, 33 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index 2e48a4a85..044dc6608 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -1,7 +1,6 @@
<?php
/**
- * Elgg standard tools drop down
- * This will be populated depending on the plugins active - only plugin navigation will appear here
+ * Empty view for backward compatibility.
*
* @package Elgg
* @subpackage Core
@@ -9,34 +8,3 @@
* @link http://elgg.org/
*
*/
-$menu = $vars['config']->menu_items['toolbar'];
-
-if (is_array($menu) && sizeof($menu) > 0) {
- $alphamenu = array();
- foreach($menu as $item) {
- $alphamenu[$item->name] = $item;
- }
- ksort($alphamenu);
-
-?>
-
-<ul class="tools_menu">
- <li class="menu"><a href="#" class="tools"><?php echo(elgg_echo('tools')); ?></a>
- <ul>
- <?php
- foreach($alphamenu as $item) {
- echo "<li><a href=\"{$item->value->url}\">" . $item->name . "</a></li>";
- }
- ?>
- </ul>
- </li>
-</ul>
-
-<script type="text/javascript">
-$(function() {
- $('ul.tools_menu').elgg_dropdownmenu();
-});
-</script>
-
-<?php
-} \ No newline at end of file