/usr/share/moodle/mod/assignment/type/wims/twoframes.php is in wims-moodle 4.0-18.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <?
foreach ($_GET as $k=>$v){
$k=$v;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="fr"
lang="fr"
dir="ltr">
<script type="text/javascript" language="javascript">
// <![CDATA[
function reload(win){
win.location='<? print($_GET['backurl']); ?>';
}
// ]]>
</script>
<head>
<title>Wims in Moodle</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
</head>
<frameset cols="*" rows="40,*" id="mainFrameset" onUnLoad="reload(window.opener)">
<frame frameborder="0" id="frame_control"
src="closing.php?msg=<? print(urlencode($_GET['closemsg'])); ?>" name="frame_control" />
<frame frameborder="0" id="frame_content"
src="<? print ($_GET['url']); ?>" name="frame_content" />
<noframes>
<body>
<p>Il vous faut un navigateur supportant les frames</p>
</body>
</noframes>
</frameset>
</html>
<?
?>
|