diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/navigation/toolbox.php | 1 | ||||
-rw-r--r-- | views/default/navigation/topmenu.php | 28 | ||||
-rw-r--r-- | views/default/page_elements/header.php | 2 |
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 |