summaryrefslogtreecommitdiff
path: root/modules/help.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-14 06:41:04 +0100
committerAndrew Dolgov <[email protected]>2007-05-14 06:41:04 +0100
commit442d77f1ccd670c0fde1db0038d3388e64f885e6 (patch)
treeda60127dad7caff8b6a2f8791e30ce060d5ff875 /modules/help.php
parent144f32d94100151ed1c0d4e22422a04d8e6068bc (diff)
help uses popup window, recolor infoBox, use subscribe dialog in prefs
Diffstat (limited to 'modules/help.php')
-rw-r--r--modules/help.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/modules/help.php b/modules/help.php
index 751d6082e..3f6968db7 100644
--- a/modules/help.php
+++ b/modules/help.php
@@ -4,30 +4,22 @@
if (!$_GET["noheaders"]) {
print "<html><head>
<title>Tiny Tiny RSS : Help</title>
- <link rel=\"stylesheet\" href=\"tt-rss.css\" type=\"text/css\">
- <script type=\"text/javascript\" src=\"prototype.js\"></script>
- <script type=\"text/javascript\" src=\"functions.js?$script_dt_add\"></script>
+ <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"]);
- print "<div id=\"infoBoxTitle\">".__('Help')."</div>";
-
- print "<div class='infoBoxContents'>";
-
if (file_exists("help/$tid.php")) {
include("help/$tid.php");
} else {
print "<p>".__("Help topic not found.")."</p>";
}
-
- print "</div>";
-
print "<div align='center'>
<input type='submit' class='button'
- onclick=\"closeInfoBox()\" value=\"".__('Close this window')."\"></div>";
+ onclick=\"javascript:window.close()\"
+ value=\"".__('Close this window')."\"></div>";
if (!$_GET["noheaders"]) {
print "</body></html>";