Added cross-version links to manual

This commit is contained in:
Lukas Eder 2013-02-11 10:30:41 +01:00
parent 5af38a690a
commit 79e974ec9c

View File

@ -2,6 +2,17 @@
$root = "";
$minorVersion = "2.6";
$version = $minorVersion . ".2";
function manualHeader($isSingle, $forVersion) {
global $minorVersion;
$singleSuffix = ($isSingle ? '-single-page' : '');
return '<p>This version of the manual is outdated. For the latest version, follow this link: ' .
'<a href="http://www.jooq.org/doc/' . $minorVersion . '/manual' . $singleSuffix .
'">http://www.jooq.org/doc/' . $minorVersion . '/manual' . $singleSuffix .
'</a>.</p>';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>