aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 10:56:19 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 10:56:19 +0000
commit1801bcac3fd99ec14fdab2e065c75fe2994249f7 (patch)
tree18a654b1a8fdd902b52d60357144c0712b4d580f /views/default/page_elements/elgg_topbar.php
parent0a7233101a755bb1345006c54ac8e3d324651586 (diff)
downloadelgg-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/elgg_topbar.php')
-rw-r--r--views/default/page_elements/elgg_topbar.php8
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