aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topmenu.php
diff options
context:
space:
mode:
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