aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 16:21:08 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 16:21:08 +0000
commit2a7f2446206c66d0344e17754f26c1413df3f729 (patch)
tree0ebd99bfb3235da5a1e024a7eac382125e54366e /views/default
parentf970c658bbc3bce3b3dddffa10c7cb78a694a098 (diff)
downloadelgg-2a7f2446206c66d0344e17754f26c1413df3f729.tar.gz
elgg-2a7f2446206c66d0344e17754f26c1413df3f729.tar.bz2
mini avatar style and position and link
git-svn-id: https://code.elgg.org/elgg/trunk@1248 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css.php4
-rw-r--r--views/default/page_elements/elgg_topbar.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/views/default/css.php b/views/default/css.php
index 4b2e88aae..53c33e6e8 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -353,6 +353,10 @@ h6 { font-size: 0.8em; }
#elgg_topbar_container_left img {
margin:2px 0 0 5px;
}
+#elgg_topbar_container_left .user_mini_avatar {
+ border:1px solid #eeeeee;
+ margin:0 0 0 20px;
+}
#elgg_topbar_container_right {
padding:4px 0 0 0;
}
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index 0108ebee6..2c19004c9 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -22,10 +22,10 @@
<div id="elgg_topbar_container_left">
<div class="toolbarimages">
- <a href=""><img src="<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logo.gif" /></a>
+ <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=""><img src="<?php echo $vars['url']; ?>pg/icon/<?php echo $_SESSION['user']->username; ?>/topbar/<?php echo $_SESSION['user']->timecreated; ?>.jpg"></a>
+ <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">