aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 17:16:15 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 17:16:15 +0000
commit8bebc580c46d6d415b5901f653a91142c0d90e80 (patch)
tree1ee41fb90c8e3031a7462e464d08277421d889cc /views/default/navigation
parent81cfb0b032fd567ff8a07e161a52747b58ebf209 (diff)
downloadelgg-8bebc580c46d6d415b5901f653a91142c0d90e80.tar.gz
elgg-8bebc580c46d6d415b5901f653a91142c0d90e80.tar.bz2
Removed the toolbox.
git-svn-id: https://code.elgg.org/elgg/trunk@2334 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/toolbox.php84
1 files changed, 0 insertions, 84 deletions
diff --git a/views/default/navigation/toolbox.php b/views/default/navigation/toolbox.php
deleted file mode 100644
index 456db14fa..000000000
--- a/views/default/navigation/toolbox.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
- /**
- * Elgg standard toolbox
- * The standard user toolbox that displays a users menu options
- * 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');
- $contexts = $vars['config']->menucontexts;
-
- if (is_array($menu) && sizeof($menu) > 0) {
-
-?>
-<div class="elggtoolbar">
-<div class="elggtoolbar_header"><h1><?php echo(elgg_echo('tools:yours')); ?></h1></div>
-<ul class="drawers">
-
-<?php
-
- $key = 0;
- foreach($menu as $item) {
-
-?>
-
- <li class="drawer">
- <h2 id="nav_<?php echo $contexts[$key]; ?>" class="drawer-handle"><?php echo $item->name ?></h2>
-<?php
-
- if (sizeof($item->children) > 0 ) {
- echo "<ul>";
- foreach($item->children as $subitem) {
-?>
- <li>
- <a href="<?php echo $subitem->value ?>"><?php echo $subitem->name; ?></a>
- </li>
-<?php
- }
- echo "</ul>";
-
- }
-
-?>
- </li>
-
-<?php
- $key++;
-
- }
-
-?>
-
-</ul>
-</div><!-- /.elggtoolbar -->
-
-<?php
-
- }
-
- if (in_array(get_context(),$contexts)) {
- $key = array_search(get_context(),$contexts);
-?>
-
-
-<script language="javascript">
- $(document).ready(function(){
- $('h2#nav_<?php echo $contexts[$key]; ?>').click();
- });
-</script>
-
-
-<?php
-
- }
-
-?> \ No newline at end of file