[root@moodle moodle23]# diff -urN -bBE mod_tmp/openmeetings/view.php mod/openmeetings/view.php --- mod_tmp/openmeetings/view.php 2012-08-02 19:04:40.000000000 +0800 +++ mod/openmeetings/view.php 2012-12-02 11:04:55.709062422 +0800 @@ -69,14 +69,16 @@ $stropenmeetingss = get_string("modulenameplural", "openmeetings"); $stropenmeetings = get_string("modulename", "openmeetings"); print_header("$course->shortname: $openmeetings->name", "$course->fullname", "$navigation <a href=index.php?id=$course->id>$stropenmeetingss</a> -> $openmeetings->name", - "", "", true, update_module_button($cm->id, $course->id, $stropenmeetings), -navmenu($course, $cm)); + "", "", true, update_module_button($cm->id, $course->id, $stropenmeetings), navmenu($course, $cm)); @@ -85,7 +87,6 @@ $sitelink = str_replace("http://", "", $CFG->wwwroot); $context = get_context_instance(CONTEXT_MODULE, $cm->id); - $becomemoderator = 0; if (has_capability('mod/openmeetings:becomemoderator', $context)) { $becomemoderator = 1; @@ -133,7 +132,8 @@ "&moodleRoom=1" . "&wwwroot=". $CFG->wwwroot; - printf("<iframe src='%s' width='%s' height='%s' />",$iframe_d,"100%",640); + printf("<div align='center'><iframe src='%s' width='%s' height='%s'/></div>",$iframe_d,"99%",640); //dywang } } else { @@ -143,5 +143,5 @@ /// Finish the page -print_footer($course); +//print_footer($course); ?>