aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 15:59:59 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 15:59:59 +0000
commit12595675751655c3aac9a79773ce9e487a850dbd (patch)
tree9be996d703af1fc26f5220c27ec4c3835e9c32f1
parentcc8b3d7033aeafa3be92525e5e969d21b86e1e7f (diff)
downloadelgg-12595675751655c3aac9a79773ce9e487a850dbd.tar.gz
elgg-12595675751655c3aac9a79773ce9e487a850dbd.tar.bz2
top level navigation added
git-svn-id: https://code.elgg.org/elgg/trunk@139 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/navigation/toolbox.php1
-rw-r--r--views/default/navigation/topmenu.php28
-rw-r--r--views/default/page_elements/header.php2
3 files changed, 27 insertions, 4 deletions
diff --git a/views/default/navigation/toolbox.php b/views/default/navigation/toolbox.php
index 3cd305320..14b272846 100644
--- a/views/default/navigation/toolbox.php
+++ b/views/default/navigation/toolbox.php
@@ -3,6 +3,7 @@
/**
* 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
diff --git a/views/default/navigation/topmenu.php b/views/default/navigation/topmenu.php
index a62827607..106f2873f 100644
--- a/views/default/navigation/topmenu.php
+++ b/views/default/navigation/topmenu.php
@@ -1,5 +1,25 @@
-<div class="topmenu">
-
-<!-- TODO: top menu logged in -->
-
+<?php
+
+ /**
+ * Elgg standard top level menu
+ * The standard user top level navigation; dashboard, profile, account, logout
+ *
+ * @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/
+ *
+ */
+
+?>
+
+<div id="topmenu">
+ <ul>
+ <li><a href="">dashboard</a></li>
+ <li><a href="">profile</a></li>
+ <li><a href="">account</a></li>
+ <li><a href="">logout</a></li>
+ </ul>
</div> \ No newline at end of file
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index de4031943..5b90d8bc5 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -40,4 +40,6 @@
<div id="header">
<!-- display the page title -->
<h1><?php echo $title; ?></h1>
+ <!-- display top level navigation -->
+ <?php echo elgg_view('navigation/topmenu'); ?>
</div><!-- close the header div --> \ No newline at end of file