]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Provide a possible link to the same doc in the 2.2 docs.
authorRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 17:43:31 +0000 (17:43 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 11 May 2010 17:43:31 +0000 (17:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@943204 13f79535-47bb-0310-9956-ffa450edef68

htdocs/manual/mod/header.html

index d35250db0aeb4a6a81e20569bdb348d7c8473dc4..bb99778bde1d961286d28a9db750958b1ab153a9 100644 (file)
         fact still using the 1.3 version, please consider upgrading.
         The current version of the server is <a 
         href="http://httpd.apache.org/docs/2.2/">2.2</a>.
-    
+
+        This document may be available
+        <a href="" id="docLink">in the 2.2 docs.</a> 
         </p>
-        
+      
+        <script language='Javascript' type='text/javascript'>
+       var path = location.pathname;
+       path = path.replace( /1\.3/, '2.2' );
+       docLink.href=(path);
+       </script>
         </div>
 
     </div>