Commit | Line | Data |
---|---|---|
822a1063 | 1 | <?php |
6be7abc7 | 2 | /** |
3 | * help.php - Displays help page. | |
4 | * | |
5 | * Prints a very simple page and includes | |
6 | * page content or a string from elsewhere. | |
7 | * Usually this will appear in a popup | |
8 | * See {@link helpbutton()} in {@link lib/moodlelib.php} | |
9 | * | |
10 | * @author Martin Dougiamas | |
6be7abc7 | 11 | * @package moodlecore |
12 | */ | |
13 | require_once('config.php'); | |
14 | ||
3a915b06 PS |
15 | |
16 | // Legacy url parameters - just dispaply error | |
bb45fe62 | 17 | $file = optional_param('file', '', PARAM_PATH); |
18 | $text = optional_param('text', 'No text to display', PARAM_CLEAN); | |
6be7abc7 | 19 | $module = optional_param('module', 'moodle', PARAM_ALPHAEXT); |
6be7abc7 | 20 | |
3a915b06 PS |
21 | // New get_string() parameters |
22 | // $identifier = | |
23 | // $component = | |
868ca14f | 24 | |
3a915b06 | 25 | die('TODO: help files will be soon reimplemented by using normal get_string().'); |