aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/elgg_topbar.php')
-rw-r--r--views/default/page_elements/elgg_topbar.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php
index 46314f2ad..2908cbd95 100644
--- a/views/default/page_elements/elgg_topbar.php
+++ b/views/default/page_elements/elgg_topbar.php
@@ -68,10 +68,7 @@
</div>
<div id="elgg_topbar_container_search">
-<form id="searchform" action="<?php echo $vars['url']; ?>pg/search/" method="get">
- <input type="text" size="21" name="tag" value="<?php echo elgg_echo('search'); ?>" onclick="if (this.value=='<?php echo elgg_echo('search'); ?>') { this.value='' }" class="search_input" />
- <input type="submit" value="<?php echo elgg_echo('search:go'); ?>" class="search_submit_button" />
-</form>
+<?php echo elgg_view('page_elements/searchbox'); ?>
</div>
</div><!-- /#elgg_topbar -->
@@ -80,4 +77,4 @@
<?php
}
-?> \ No newline at end of file
+?>