]> git.wh0rd.org - tt-rss.git/blame - classes/backend.php
instances: add fbexport method
[tt-rss.git] / classes / backend.php
CommitLineData
611efae7
AD
1<?php
2class 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 }
4f09f594 9
8437c066
AD
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);
4f09f594
AD
18 }
19
20 function help() {
66be620a 21 $topic = basename($_REQUEST["topic"]);
4f09f594 22
66be620a
AD
23 if (file_exists("help/$topic.php")) {
24 include("help/$topic.php");
4f09f594
AD
25 } else {
26 print "<p>".__("Help topic not found.")."</p>";
27 }
66be620a 28 /* print "<div align='center'>
4f09f594 29 <button onclick=\"javascript:window.close()\">".
66be620a 30 __('Close this window')."</button></div>"; */
4f09f594
AD
31
32 }
611efae7
AD
33}
34?>