mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
f1dacb2ed0
files from the language packs. If a file isn't available in the current language, then English is used.
33 lines
610 B
PHP
33 lines
610 B
PHP
<?PHP // $Id$
|
|
|
|
require("../config.php");
|
|
|
|
optional_variable($file, ""); // docs file to view
|
|
|
|
if (empty($file)) {
|
|
$include = false;
|
|
$file = "intro.html";
|
|
} else {
|
|
$include = true;
|
|
}
|
|
|
|
$info = document_file($file, $include);
|
|
|
|
if ($include) {
|
|
exit;
|
|
}
|
|
|
|
?>
|
|
|
|
<HEAD>
|
|
<TITLE>Moodle Documentation</TITLE>
|
|
</HEAD>
|
|
|
|
<FRAMESET ROWS="70,*">
|
|
<FRAME NAME="top" SRC="top.php">
|
|
<FRAMESET COLS="200,*">
|
|
<FRAME NAME="contents" SRC="contents.php">
|
|
<FRAME NAME="main" SRC="<?PHP echo "$info->urlpath"; ?>">
|
|
</FRAMESET>
|
|
</FRAMESET>
|