diff options
-rw-r--r-- | languages/en.php | 1 | ||||
-rw-r--r-- | views/default/page_elements/elgg_topbar.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/languages/en.php b/languages/en.php index f36ac1cd4..06af1264f 100644 --- a/languages/en.php +++ b/languages/en.php @@ -431,6 +431,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.", 'group:search:startblurb' => "Groups matching '%s':", 'group:search:finishblurb' => "To view more, click here.", + 'search:go' => 'Go', /**
* Account
diff --git a/views/default/page_elements/elgg_topbar.php b/views/default/page_elements/elgg_topbar.php index 22608754a..e37795eb7 100644 --- a/views/default/page_elements/elgg_topbar.php +++ b/views/default/page_elements/elgg_topbar.php @@ -71,8 +71,8 @@ <div id="elgg_topbar_container_search"> <form id="searchform" action="<?php echo $vars['url']; ?>search/" 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" /> + <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> </div> |