diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/backend.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/classes/backend.php b/classes/backend.php index 47fc2d826..f7e7b84b8 100644 --- a/classes/backend.php +++ b/classes/backend.php @@ -6,5 +6,23 @@ class Backend extends Handler { print __("Loading, please wait...") . " " . "<img src='images/indicator_tiny.gif'>"; } + + function digestSend() { + send_headlines_digests($this->link); + } + + function help() { + $tid = (int) $_REQUEST["tid"]; + + if (file_exists("help/$tid.php")) { + include("help/$tid.php"); + } else { + print "<p>".__("Help topic not found.")."</p>"; + } + print "<div align='center'> + <button onclick=\"javascript:window.close()\">". + __('Close this window')."</button></div>"; + + } } ?> |