X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=classes%2Fbackend.php;h=42dfb54742868e13f3c55a7e6576df4b63f5ca4b;hb=0f28f81f8911e432ae4bf50da7ed2c334618fd95;hp=47fc2d826e5a3691c1eac1939498ceb96cbad1e6;hpb=611efae712769e38e232478b484779d73af263db;p=tt-rss.git diff --git a/classes/backend.php b/classes/backend.php index 47fc2d82..42dfb547 100644 --- a/classes/backend.php +++ b/classes/backend.php @@ -1,10 +1,35 @@ "; } + + function digestTest() { + header("Content-type: text/html"); + + require_once "digest.php"; + + $rv = prepare_headlines_digest($this->link, $_SESSION['uid'], 1, 1000); + + $rv[3] = "
" . $rv[3] . "
"; + + print_r($rv); + } + + function help() { + $topic = basename($_REQUEST["topic"]); + + if (file_exists("help/$topic.php")) { + include("help/$topic.php"); + } else { + print "

".__("Help topic not found.")."

"; + } + /* print "
+
"; */ + + } } ?>