mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
New frame mode for dox
This commit is contained in:
parent
b79f41cd42
commit
106140f7d1
@ -3,6 +3,7 @@
|
||||
require("../config.php");
|
||||
|
||||
optional_variable($file, ""); // docs file to view
|
||||
optional_variable($frame, ""); // docs file to view
|
||||
optional_variable($lang, ""); // override current language
|
||||
|
||||
if (!empty($lang)) {
|
||||
@ -12,7 +13,11 @@
|
||||
|
||||
if (empty($file)) {
|
||||
$include = false;
|
||||
$file = "intro.html";
|
||||
if (empty($frame)) {
|
||||
$file = "intro.html";
|
||||
} else {
|
||||
$file = $frame;
|
||||
}
|
||||
} else {
|
||||
$include = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user