Index: resource.class.php =================================================================== RCS file: /cvsroot/moodle/moodle/mod/resource/type/file/resource.class.php,v retrieving revision 1.75 diff -u -r1.75 resource.class.php --- resource.class.php 14 Dec 2007 21:22:38 -0000 1.75 +++ resource.class.php 11 Jan 2008 11:30:57 -0000 @@ -687,7 +687,7 @@ 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);