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