forked from atutor/ATutor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopuphelp.php
40 lines (36 loc) · 1.31 KB
/
popuphelp.php
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
<?php
/****************************************************************/
/* ATutor */
/****************************************************************/
/* Copyright (c) 2002-2010 */
/* Inclusive Design Institute */
/* http://atutor.ca */
/* */
/* This program is free software. You can redistribute it and/or*/
/* modify it under the terms of the GNU General Public License */
/* as published by the Free Software Foundation. */
/****************************************************************/
define('AT_INCLUDE_PATH', 'include/');
exit; // THIS FILE APPEARS TO BE NO LONGER USED
require (AT_INCLUDE_PATH.'vitals.inc.php');
require(AT_INCLUDE_PATH.'html/frameset/header.inc.php');
?>
[<a href="javascript:window.close()"><?php echo _AT('close_help_window'); ?></a>]
<?php
/**
* Modified Jacek Materna
* Using Message.class.php layer to print
*/
if ($_GET['h']) {
$h = $_GET['h'];
if (is_string($_GET['h'])) { // just a AT_HELP code with no prefix
$msg->printHelps($h);
} else {
/* it's probably an array */
$h = unserialize(urldecode(stripslashes($_GET['h'])));
$msg->printHelps($h);
}
}
?>
</body>
</html>