getContentByVersion($version); if (!$version) die("error: could not get version $version"); if ($document->getAccessMode($user) < M_ALL) die("Access denied"); printHTMLHead( getMLText("document_title", array("documentname" => $document->getName()) ) ); printTitleBar($document->getFolder()); printDocumentPageStart($document); printPageHeader(getMLText("rm_version") . ": " . $document->getName()); printStartBox(getMLText("rm_version")); ?>