From 2b5153990a88d63d61a43ad114b479a78e12bd75 Mon Sep 17 00:00:00 2001 From: poltawski Date: Fri, 11 Jan 2008 11:59:31 +0000 Subject: [PATCH] MDL-12930 - wrong title text on search webpages button, thanks to Mitsuhiro Yoshida merged from MOODLE_19_STABLE --- mod/resource/type/file/resource.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index fa461245fd..91453765d7 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -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); -- 2.39.5