]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Closes #805: Top bar search now internationalised. Refs #965
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 May 2009 14:36:48 +0000 (14:36 +0000)
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 May 2009 14:36:48 +0000 (14:36 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3306 36083f99-b078-4883-b0ff-0f9b5a30f544

languages/en.php
views/default/page_elements/elgg_topbar.php

index f36ac1cd4e5320391d1b7ddde07cc6b06b6c275f..06af1264fc9ba3cc5caba9d5eea15e757933e1fd 100644 (file)
@@ -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',
        \r
                /**\r
                 * Account\r
index 22608754a88dfd8122c4f25745a3b49f1e9b5d42..e37795eb7885fb3498a724343b45fc9d6ff32efe 100644 (file)
@@ -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>