aboutsummaryrefslogtreecommitdiff
path: root/mod/search/views/default/page_elements/searchbox.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search/views/default/page_elements/searchbox.php')
-rw-r--r--mod/search/views/default/page_elements/searchbox.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/search/views/default/page_elements/searchbox.php b/mod/search/views/default/page_elements/searchbox.php
new file mode 100644
index 000000000..4bab36be9
--- /dev/null
+++ b/mod/search/views/default/page_elements/searchbox.php
@@ -0,0 +1,4 @@
+<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>