]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12930 - wrong title text on search webpages button, thanks to Mitsuhiro
authorpoltawski <poltawski>
Fri, 11 Jan 2008 11:59:31 +0000 (11:59 +0000)
committerpoltawski <poltawski>
Fri, 11 Jan 2008 11:59:31 +0000 (11:59 +0000)
Yoshida
merged from MOODLE_19_STABLE

mod/resource/type/file/resource.class.php

index fa461245fda38d3930217a08b2e888d29e4e8f2c..91453765d79868907488423404c16cfdd32460bd 100644 (file)
@@ -687,7 +687,7 @@ class resource_file extends resource_base {
 
         if (!empty($CFG->resource_websearch)) {
             $searchbutton = $mform->addElement('button', 'searchbutton', get_string('searchweb', 'resource').'...');
-            $buttonattributes = array('title'=>get_string('localfilechoose', 'resource'), 'onclick'=>"return window.open('"
+            $buttonattributes = array('title'=>get_string('searchweb', 'resource'), 'onclick'=>"return window.open('"
                               . "$CFG->resource_websearch', 'websearch', 'menubar=1,location=1,directories=1,toolbar=1,"
                               . "scrollbars,resizable,width=800,height=600');");
             $searchbutton->updateAttributes($buttonattributes);