From 79e974ec9c9d08cfe6884611bc5e43c160a0566c Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 11 Feb 2013 10:30:41 +0100 Subject: [PATCH] Added cross-version links to manual --- jOOQ-website/frame.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jOOQ-website/frame.php b/jOOQ-website/frame.php index 0dcde8f1b5..a8ce1eb255 100644 --- a/jOOQ-website/frame.php +++ b/jOOQ-website/frame.php @@ -2,6 +2,17 @@ $root = ""; $minorVersion = "2.6"; $version = $minorVersion . ".2"; + +function manualHeader($isSingle, $forVersion) { + global $minorVersion; + $singleSuffix = ($isSingle ? '-single-page' : ''); + + return '

This version of the manual is outdated. For the latest version, follow this link: ' . + 'http://www.jooq.org/doc/' . $minorVersion . '/manual' . $singleSuffix . + '.

'; +} + ?>