svn commit: r1019744 - /websites/production/db/content/derby/releases/release-

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

svn commit: r1019744 - /websites/production/db/content/derby/releases/release-

Author: rhillegas
Date: Thu Oct 19 01:21:38 2017
New Revision: 1019744

DERBY-6941: Expand cgi form boilerplate to make mirrors visible in the mirror selection dropdown.


Modified: websites/production/db/content/derby/releases/release-
--- websites/production/db/content/derby/releases/release- (original)
+++ websites/production/db/content/derby/releases/release- Thu Oct 19 01:21:38 2017
@@ -521,7 +521,19 @@ document.write("Last Published: " + docu
 <p>Use the links below to download a distribution of Apache Derby. You should <strong>always</strong> <a href="#Verifying Releases">verify the integrity</a> of distribution files downloaded from a mirror.</p>
 <p>You are currently using <strong>[preferred]</strong>. If you encounter a problem with this mirror, then please select another. If all mirrors are failing, there are backup mirrors at the end of the list. See <a class="external" href="">status</a> of mirrors.</p>
 <a name="SelectMirror"></a>
-<form action="[location]" method="get" id="SelectMirror">Other mirrors: <select name="Preferred"><option value="[http]">[http]</option><option value="[ftp]">[ftp]</option><option value="[backup]">[backup] (backup)</option></select> <input type="submit" value="Change">
+<form action="[location]" method="get" id="SelectMirror">
+Other mirrors: <select name="Preferred">
+[if-any http] [for http]
+<option value="[http]">[http]</option>
+[end] [end]
+[if-any ftp] [for ftp]
+<option value="[ftp]">[ftp]</option>
+[end] [end]
+[if-any backup] [for backup]
+<option value="[backup]">[backup] (backup)</option>
+[end] [end]
+<input type="submit" value="Change" />    
 <p>There are four different distributions:</p>