aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-09 19:33:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-09 19:33:33 +0000
commitf9aa70c258578d907cdeb1e9d5b26fffca5bede6 (patch)
tree35596f164c262cc6d2f653ff16f7fa650118f186 /views/default/page_elements/elgg_topbar.php
parentb62012bf3da994298ad52a4ccec06e814bcc5a79 (diff)
downloadelgg-f9aa70c258578d907cdeb1e9d5b26fffca5bede6.tar.gz
elgg-f9aa70c258578d907cdeb1e9d5b26fffca5bede6.tar.bz2
Pulled in Justin's search changes from github.
git-svn-id: http://code.elgg.org/elgg/trunk@3520 36083f99-b078-4883-b0ff-0f9b5a30f544
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
+?>