Author: cmpilato
Date: Tue May 10 16:32:53 2011
New Revision: 1101532

URL: http://svn.apache.org/viewvc?rev=1101532&view=rev
Log:
More tinkering with the download system.

* site/publish/download-main.html
  New file which uses SSI to include a header, the CGI output from
  download.cgi, and a footer.

* site/publish/download.html
  Replace [location] with a fixed pointer to download-main.html, and
  drop header and footer.

Added:
    subversion/site/publish/download-main.html   (with props)
Modified:
    subversion/site/publish/download.html

Added: subversion/site/publish/download-main.html
URL: 
http://svn.apache.org/viewvc/subversion/site/publish/download-main.html?rev=1101532&view=auto
==============================================================================
--- subversion/site/publish/download-main.html (added)
+++ subversion/site/publish/download-main.html Tue May 10 16:32:53 2011
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
+   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>Download Apache Subversion Sources</title>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<style type="text/css">
+  @import url("/style/site.css");
+</style>
+</head>
+
+<body>
+<!--#include virtual="/site-banner.html" -->
+<!--#include virtual="/site-nav.html" -->
+<div id="site-content">
+<!--#include virtual="/site-notice.html" -->
+
+<!--#exec cgi="/download.cgi" -->
+
+</div> <!-- #site-content -->
+</body>
+</html>

Propchange: subversion/site/publish/download-main.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: subversion/site/publish/download.html
URL: 
http://svn.apache.org/viewvc/subversion/site/publish/download.html?rev=1101532&r1=1101531&r2=1101532&view=diff
==============================================================================
--- subversion/site/publish/download.html (original)
+++ subversion/site/publish/download.html Tue May 10 16:32:53 2011
@@ -1,20 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
-   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml";>
-<head>
-<title>Download Apache Subversion Sources</title>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<style type="text/css">
-  @import url("/style/site.css");
-</style>
-</head>
-
-<body>
-<!--#include virtual="/site-banner.html" -->
-<!--#include virtual="/site-nav.html" -->
-<div id="site-content">
-<!--#include virtual="/site-notice.html" -->
-
 <div class="notice">
 <p><strong>Note:</strong> Subversion 1.7 is <em>not released yet</em>, and
 this page is still under construction.  Please see the
@@ -59,7 +42,7 @@ disappears.</p>
    mirrors are failing, there are <i>backup</i> mirrors (at the end of
    the mirrors list) that should be available.</p>
 
-<form action="[location]" method="get" id="SelectMirror">
+<form action="/download-main.html" method="get" id="SelectMirror">
 Other mirrors:
 <select name="Preferred">
   [if-any http]
@@ -256,7 +239,3 @@ test cutting-edge new features.  <em>The
            >http://svn.apache.org/viewvc/subversion/trunk/</a></p>
 
 </div> <!-- #web-access -->
-
-</div> <!-- #site-content -->
-</body>
-</html>


Reply via email to