1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:05:55 +00:00

do not include keyboard help files into index and prefs.php

This commit is contained in:
Andrew Dolgov
2011-12-14 15:51:27 +04:00
parent 07391e36b8
commit 66be620a87
8 changed files with 28 additions and 29 deletions

View File

@@ -12,16 +12,16 @@ class Backend extends Handler {
}
function help() {
$tid = (int) $_REQUEST["tid"];
$topic = basename($_REQUEST["topic"]);
if (file_exists("help/$tid.php")) {
include("help/$tid.php");
if (file_exists("help/$topic.php")) {
include("help/$topic.php");
} else {
print "<p>".__("Help topic not found.")."</p>";
}
print "<div align='center'>
/* print "<div align='center'>
<button onclick=\"javascript:window.close()\">".
__('Close this window')."</button></div>";
__('Close this window')."</button></div>"; */
}
}