aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:00:39 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:00:39 +0000
commit40f3b72eb84ed752b45e95d584a1fa6f8beb9561 (patch)
tree11076daf015b839dd78e58e860fecf90e2ea05b8 /views/default/page_elements
parent525b78c07bfa492916dee895e511a6c1c9d2543f (diff)
downloadelgg-40f3b72eb84ed752b45e95d584a1fa6f8beb9561.tar.gz
elgg-40f3b72eb84ed752b45e95d584a1fa6f8beb9561.tar.bz2
topbar altered for messages and links style
git-svn-id: https://code.elgg.org/elgg/trunk@1356 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r--views/default/page_elements/elgg_topbar.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index 0bbebc7f8..fbeae43c8 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -24,26 +24,28 @@
<div class="toolbarimages">
<a href="http://www.elgg.org" target="_blank"><img src="<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logo.gif" /></a>
- <!-- new icon size needed 16px square - mini -->
<a href="<?php echo $_SESSION['user']->getURL(); ?>"><img class="user_mini_avatar" src="<?php echo $vars['url']; ?>pg/icon/<?php echo $_SESSION['user']->username; ?>/topbar/<?php echo $_SESSION['user']->timecreated; ?>.jpg"></a>
</div>
<div class="toolbarlinks">
<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>
+
+ <?php
+ //allow people to extend this top menu
+ echo elgg_view('elgg_topbar/extend', $vars);
+ ?>
+
<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) {
+ // The administration link is for admin or site admin users only
+ if ($vars['user']->admin || $vars['user']->siteadmin) {
?>
- <a href="<?php echo $vars['url']; ?>pg/admin/" class="usersettings"><?php echo elgg_echo("admin"); ?></a>
+ <a href="<?php echo $vars['url']; ?>pg/admin/" class="usersettings"><?php echo elgg_echo("admin"); ?></a>
<?php