]> git.wh0rd.org - tt-rss.git/blame - classes/backend.php
daemon: assume child is dead if its lockfile is unlocked (refs #417)
[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
AD
9
10 function digestSend() {
11 send_headlines_digests($this->link);
12 }
13
14 function help() {
66be620a 15 $topic = basename($_REQUEST["topic"]);
4f09f594 16
66be620a
AD
17 if (file_exists("help/$topic.php")) {
18 include("help/$topic.php");
4f09f594
AD
19 } else {
20 print "<p>".__("Help topic not found.")."</p>";
21 }
66be620a 22 /* print "<div align='center'>
4f09f594 23 <button onclick=\"javascript:window.close()\">".
66be620a 24 __('Close this window')."</button></div>"; */
4f09f594
AD
25
26 }
611efae7
AD
27}
28?>