]> git.wh0rd.org - tt-rss.git/blob - classes/backend.php
remove backend/digestSend
[tt-rss.git] / classes / backend.php
1 <?php
2 class Backend extends Handler {
3
4 function loading() {
5 header("Content-type: text/html");
6 print __("Loading, please wait...") . " " .
7 "<img src='images/indicator_tiny.gif'>";
8 }
9
10 function digestTest() {
11 header("Content-type: text/html");
12
13 $rv = prepare_headlines_digest($this->link, $_SESSION['uid'], 1, 1000);
14
15 $rv[3] = "<pre>" . $rv[3] . "</pre>";
16
17 print_r($rv);
18 }
19
20 function help() {
21 $topic = basename($_REQUEST["topic"]);
22
23 if (file_exists("help/$topic.php")) {
24 include("help/$topic.php");
25 } else {
26 print "<p>".__("Help topic not found.")."</p>";
27 }
28 /* print "<div align='center'>
29 <button onclick=\"javascript:window.close()\">".
30 __('Close this window')."</button></div>"; */
31
32 }
33 }
34 ?>