You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
function module_help($link) {
|
|
|
|
|
|
|
|
if (!$_GET["noheaders"]) {
|
|
|
|
print "<html><head>
|
|
|
|
<title>".__('Help')."</title>
|
|
|
|
<link rel=\"stylesheet\" href=\"utility.css\" type=\"text/css\">
|
|
|
|
<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 {
|
|
|
|
print "<p>".__("Help topic not found.")."</p>";
|
|
|
|
}
|
|
|
|
print "<div align='center'>
|
|
|
|
<input type='submit' class='button'
|
|
|
|
onclick=\"javascript:window.close()\"
|
|
|
|
value=\"".__('Close this window')."\"></div>";
|
|
|
|
|
|
|
|
if (!$_GET["noheaders"]) {
|
|
|
|
print "</body></html>";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|