action) { case 'browse': $this->doBrowse(); break; default: $this->doDefault(); break; } } public function doDefault() { $data = $this->misc->getDatabaseAccessor(); if (isset($_REQUEST['help'])) { $url = $data->getHelp($_REQUEST['help']); if (is_array($url)) { $this->doChoosePage($url); return; } if ($url) { header("Location: ${url}"); return; } } $this->doBrowse($this->lang['strinvalidhelppage']); } public function doBrowse($msg = '') { $data = $this->misc->getDatabaseAccessor(); $this->printHeader(); $this->printBody(); $this->printTitle($this->lang['strselecthelppage']); echo $this->printMsg($msg); echo '