diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 10:56:19 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 10:56:19 +0000 |
commit | 1801bcac3fd99ec14fdab2e065c75fe2994249f7 (patch) | |
tree | 18a654b1a8fdd902b52d60357144c0712b4d580f /views/default/page_elements | |
parent | 0a7233101a755bb1345006c54ac8e3d324651586 (diff) | |
download | elgg-1801bcac3fd99ec14fdab2e065c75fe2994249f7.tar.gz elgg-1801bcac3fd99ec14fdab2e065c75fe2994249f7.tar.bz2 |
new topbar
git-svn-id: https://code.elgg.org/elgg/trunk@1348 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r-- | views/default/page_elements/elgg_topbar.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php index d225e2138..0bbebc7f8 100644 --- a/views/default/page_elements/elgg_topbar.php +++ b/views/default/page_elements/elgg_topbar.php @@ -29,11 +29,14 @@ </div> <div class="toolbarlinks"> - <a href="<?php echo $_SESSION['user']->getURL(); ?>" class="loggedinuser"><?php echo $_SESSION['user']->username; ?></a> + <a href="<?php echo $_SESSION['user']->getURL(); ?>" class="pagelinks"><?php echo elgg_echo('profile'); ?></a> <!-- class="loggedinuser" <?php echo $_SESSION['user']->username; ?></a> --> <a href="<?php echo $vars['url']; ?>pg/dashboard/" class="pagelinks"><?php echo elgg_echo('dashboard'); ?></a> <a href="<?php echo $vars['url']; ?>settings/" class="usersettings"><?php echo elgg_echo('settings'); ?></a> <?php + + //allow people to extend this top menu + echo elgg_view('elgg_topbar/extend', $vars); // The administration link is for admin or site admin users only if ($vars['user']->admin || $vars['user']->siteadmin) { @@ -80,5 +83,4 @@ <?php } -?> - +?>
\ No newline at end of file |