]> git.wh0rd.org - tt-rss.git/blame - classes/backend.php
do not try to load feedlist before receiving init-params
[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() {
61c1812f
AD
11 define('PREFS_NO_CACHE', true);
12
13 send_headlines_digests($this->link, 100, true);
4f09f594
AD
14 }
15
16 function help() {
66be620a 17 $topic = basename($_REQUEST["topic"]);
4f09f594 18
66be620a
AD
19 if (file_exists("help/$topic.php")) {
20 include("help/$topic.php");
4f09f594
AD
21 } else {
22 print "<p>".__("Help topic not found.")."</p>";
23 }
66be620a 24 /* print "<div align='center'>
4f09f594 25 <button onclick=\"javascript:window.close()\">".
66be620a 26 __('Close this window')."</button></div>"; */
4f09f594
AD
27
28 }
611efae7
AD
29}
30?>