2006-10-01 10:05:20 +00:00
|
|
|
<?php
|
|
|
|
function module_help($link) {
|
|
|
|
|
2009-12-29 15:49:27 +00:00
|
|
|
if (!$_REQUEST["noheaders"]) {
|
2006-10-01 10:05:20 +00:00
|
|
|
print "<html><head>
|
2009-01-25 17:19:09 +00:00
|
|
|
<title>".__('Help')."</title>
|
2007-05-14 05:41:04 +00:00
|
|
|
<link rel=\"stylesheet\" href=\"utility.css\" type=\"text/css\">
|
2006-10-01 10:05:20 +00:00
|
|
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
|
|
|
|
</head><body>";
|
|
|
|
}
|
|
|
|
|
2009-12-29 15:49:27 +00:00
|
|
|
$tid = sprintf("%d", $_REQUEST["tid"]);
|
2006-10-01 10:05:20 +00:00
|
|
|
|
|
|
|
if (file_exists("help/$tid.php")) {
|
|
|
|
include("help/$tid.php");
|
|
|
|
} else {
|
2007-03-05 09:37:40 +00:00
|
|
|
print "<p>".__("Help topic not found.")."</p>";
|
2006-10-01 10:05:20 +00:00
|
|
|
}
|
|
|
|
print "<div align='center'>
|
|
|
|
<input type='submit' class='button'
|
2007-05-14 05:41:04 +00:00
|
|
|
onclick=\"javascript:window.close()\"
|
|
|
|
value=\"".__('Close this window')."\"></div>";
|
2006-10-01 10:05:20 +00:00
|
|
|
|
2009-12-29 15:49:27 +00:00
|
|
|
if (!$_REQUEST["noheaders"]) {
|
2006-10-01 10:05:20 +00:00
|
|
|
print "</body></html>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|