"; } function digestTest() { header("Content-type: text/html"); $rv = Digest::prepare_headlines_digest($_SESSION['uid'], 1, 1000); print "

HTML

"; print $rv[0]; print "

Plain text

"; print "
".$rv[3]."
"; } private function display_main_help() { $info = get_hotkeys_info(); $imap = get_hotkeys_map(); $omap = array(); foreach ($imap[1] as $sequence => $action) { if (!isset($omap[$action])) $omap[$action] = array(); array_push($omap[$action], $sequence); } print ""; } function help() { $topic = basename(clean($_REQUEST["topic"])); // only one for now if ($topic == "main") { $info = get_hotkeys_info(); $imap = get_hotkeys_map(); $omap = array(); foreach ($imap[1] as $sequence => $action) { if (!isset($omap[$action])) $omap[$action] = array(); array_push($omap[$action], $sequence); } print ""; } print ""; } }