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 | |
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')
-rw-r--r-- | views/default/css.php | 1 | ||||
-rw-r--r-- | views/default/navigation/topmenu.php | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/views/default/css.php b/views/default/css.php index e8386223c..58128e4b9 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -135,6 +135,7 @@ div#header h1 a{ position:absolute;
top:2px;
right:10px;
+ width: 300px;
}
#topmenu li {
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>
|