]> git.wh0rd.org - tt-rss.git/blob - classes/backend.php
move help to backend class
[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 digestSend() {
11 send_headlines_digests($this->link);
12 }
13
14 function help() {
15 $tid = (int) $_REQUEST["tid"];
16
17 if (file_exists("help/$tid.php")) {
18 include("help/$tid.php");
19 } else {
20 print "<p>".__("Help topic not found.")."</p>";
21 }
22 print "<div align='center'>
23 <button onclick=\"javascript:window.close()\">".
24 __('Close this window')."</button></div>";
25
26 }
27 }
28 ?>