]> git.mjollnir.org Git - moodle.git/commitdiff
"REPOSITORY/MDL-13766, rename gloabl search button"
authordongsheng <dongsheng>
Thu, 19 Feb 2009 07:28:33 +0000 (07:28 +0000)
committerdongsheng <dongsheng>
Thu, 19 Feb 2009 07:28:33 +0000 (07:28 +0000)
lang/en_utf8/repository.php
repository/javascript.php

index 0d5a9982174d35695499e03348e455e501131006..75ea29585fec477325bb4a6a4a3be40508cff68e 100644 (file)
@@ -41,6 +41,7 @@ $string['existingrepository'] = 'This repository already exists';
 $string['filename'] = 'Filename';
 $string['filenotnull'] = 'You must select a file to upload.';
 $string['filesaved'] = 'The file has been saved';
+$string['federatedsearch'] = 'Federated search';
 $string['getfile'] = 'Select this file';
 $string['hiddenshow'] = 'Hide/Show';
 $string['keyword'] = 'Keyword';
index 44a598bc1248d04979ef168d5849f08b7739b56e..5fd46196bfb4e2c2df54383f3a1f7fafca17f8b5 100644 (file)
@@ -64,6 +64,7 @@ function repository_get_client($context, $accepted_filetypes = '*', $returnvalue
     $strdate      = get_string('date', 'repository').': ';
     $strerror     = get_string('error', 'repository');
     $strfilenotnull = get_string('filenotnull', 'repository');
+    $strfederatedsearch = get_string('federatedsearch', 'repository');
     $strrefresh   = get_string('refresh', 'repository');
     $strinvalidjson = get_string('invalidjson', 'repository');
     $strlistview  = get_string('listview', 'repository');
@@ -265,7 +266,7 @@ this.create_picker = function() {
     repo_list = new YAHOO.util.Element('repo-list-$suffix');
     repo_list.on('contentReady', function(e) {
         var searchbar = new YAHOO.util.Element('search-div-$suffix');
-        searchbar.get('element').innerHTML = '<input id="search-input-$suffix" /><button id="search-btn-$suffix">$strsearch</button>';
+        searchbar.get('element').innerHTML = '<input id="search-input-$suffix" /><button id="search-btn-$suffix">$strfederatedsearch</button>';
         var btn_search = new YAHOO.util.Element('search-btn-$suffix');
         var input_keyword = new YAHOO.util.Element('search-input-$suffix');
         btn_search.fnSearch = function(e) {