mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
24 lines
546 B
PHP
24 lines
546 B
PHP
<?PHP
|
|
/// help.php - prints a very simple page and includes a
|
|
/// page content or a string from elsewhere
|
|
/// Usually this will appear in a popup
|
|
/// See help() in lib/moodlelib.php
|
|
|
|
include("config.php");
|
|
|
|
if (ereg("\\.\\.", $file)) {
|
|
error("Error: Filenames can not contain \"..\"");
|
|
}
|
|
|
|
|
|
?>
|
|
<HTML>
|
|
<HEAD>
|
|
<LINK rel="stylesheet" href="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme?>/styles.css">
|
|
</HEAD>
|
|
<BODY BGCOLOR="<?=$THEME->body ?>">
|
|
<? include("lang/$CFG->lang/$file"); ?>
|
|
</BODY>
|
|
</HTML>
|
|
|