]> git.wh0rd.org - tt-rss.git/blob - classes/backend.php
implement preferred time for sending out digests
[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 define('PREFS_NO_CACHE', true);
12
13 send_headlines_digests($this->link, 100, true);
14 }
15
16 function help() {
17 $topic = basename($_REQUEST["topic"]);
18
19 if (file_exists("help/$topic.php")) {
20 include("help/$topic.php");
21 } else {
22 print "<p>".__("Help topic not found.")."</p>";
23 }
24 /* print "<div align='center'>
25 <button onclick=\"javascript:window.close()\">".
26 __('Close this window')."</button></div>"; */
27
28 }
29 }
30 ?>