aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topmenu.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 18:22:09 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 18:22:09 +0000
commit28dda1c699e180d5ff9e091cac92310a3500b786 (patch)
tree8f7f4661831c8465aa9030e41da65d83cd8761b7 /views/default/navigation/topmenu.php
parent1657158dc632538ff56616171cd771129180b8fc (diff)
downloadelgg-28dda1c699e180d5ff9e091cac92310a3500b786.tar.gz
elgg-28dda1c699e180d5ff9e091cac92310a3500b786.tar.bz2
latest interface stuff
git-svn-id: https://code.elgg.org/elgg/trunk@876 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/topmenu.php')
-rw-r--r--views/default/navigation/topmenu.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/views/default/navigation/topmenu.php b/views/default/navigation/topmenu.php
index a8211f67a..e9306d9da 100644
--- a/views/default/navigation/topmenu.php
+++ b/views/default/navigation/topmenu.php
@@ -19,13 +19,19 @@
if (isloggedin()) {
?>
<div id="topmenu">
- <div class="usericon">
- <?php
+<div class="usericon">
+<?php
+ echo elgg_view("profile/icon",array('entity' => $vars['user'], 'size' => 'small'));
+?>
+</div>
- echo elgg_view("profile/icon",array('entity' => $vars['user'], 'size' => 'small'));
+<div id="header_search">
+<form id="searchform" action="#" method="get">
+ <input type="text" size="21" name="tag" value="Search" onclick="if (this.value=='Search') { this.value='' }" class="search_input" />
+ <input type="submit" value="Go" class="search_submit_button" />
+</form>
+</div>
- ?>
- </div>
<ul>
<li><a href="<?php echo $vars['url']; ?>pg/dashboard/"><?php echo elgg_echo('dashboard'); ?></a></li>
<li><a href="<?php echo $vars['url']; ?>pg/settings/"><?php echo elgg_echo('settings'); ?></a></li>
@@ -45,7 +51,7 @@
?>
<li><a href="<?php echo $vars['url']; ?>action/logout"><?php echo elgg_echo('logout'); ?></a></li>
</ul>
-</div>
+</div><!-- /#topmenu -->
<?php
}
?> \ No newline at end of file