MDL-21400 converted ufo embedding to new style

This commit is contained in:
Petr Skoda 2010-02-06 12:41:09 +00:00
parent 5f3bf83fd5
commit fad653904f

View File

@ -13,10 +13,8 @@ $args['quality'] = 'high';
$args['flashvars'] = 'amfurl='.$CFG->wwwroot.'/webservice/amf/server.php';
$args['setcontainercss'] = 'true';
$PAGE->requires->js('/lib/ufo.js')->in_head();
$PAGE->requires->data_for_js('FO', $args);
$PAGE->requires->js_function_call('create_UFO_object', Array('moodletestclient'));
$PAGE->requires->js('/lib/ufo.js');
$PAGE->requires->js_function_call('M.util.create_UFO_object', array('moodletestclient', $args));
$PAGE->set_title('Test Client');
$PAGE->set_heading('Test Client');