diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-02 14:44:09 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-02 14:44:09 +0000 |
commit | 21219ce636dca9ff167fb1bfbd71921301d32c1a (patch) | |
tree | 99592900b0f43488a08d812a250cf8581dfb2cc8 /views/default/navigation | |
parent | fc078667a5ef6f931772160a52a6f89cf9570bda (diff) | |
download | elgg-21219ce636dca9ff167fb1bfbd71921301d32c1a.tar.gz elgg-21219ce636dca9ff167fb1bfbd71921301d32c1a.tar.bz2 |
Adding a user icon to the top menu
git-svn-id: https://code.elgg.org/elgg/trunk@627 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r-- | views/default/navigation/topmenu.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/navigation/topmenu.php b/views/default/navigation/topmenu.php index df8cf4eb9..6e1ccd533 100644 --- a/views/default/navigation/topmenu.php +++ b/views/default/navigation/topmenu.php @@ -19,6 +19,13 @@ if (isloggedin()) {
?>
<div id="topmenu">
+ <div style="float:right">
+ <?php
+
+ echo elgg_view("profile/icon",array('entity' => $vars['user'], 'size' => 'small'));
+
+ ?>
+ </div>
<ul>
<li><a href="<?php echo $vars['url']; ?>mod/dashboard/"><?php echo elgg_echo('dashboard'); ?></a></li>
<li><a href=""><?php echo elgg_echo('profile'); ?></a></li>
|