aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 14:36:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 14:36:48 +0000
commitf3f0330d2c3545a3ec5c014011857cd080b2a60e (patch)
tree06d122d806beb3dabbdf699e1a72ee843e0631a6
parent252990170bc0f55c159328cf186012174cab0a93 (diff)
downloadelgg-f3f0330d2c3545a3ec5c014011857cd080b2a60e.tar.gz
elgg-f3f0330d2c3545a3ec5c014011857cd080b2a60e.tar.bz2
Closes #805: Top bar search now internationalised. Refs #965
git-svn-id: https://code.elgg.org/elgg/trunk@3306 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--languages/en.php1
-rw-r--r--views/default/page_elements/elgg_topbar.php4
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>