Author: rhillegas Date: Thu Oct 19 01:21:38 2017 New Revision: 1019744 Log: DERBY-6941: Expand cgi form boilerplate to make mirrors visible in the mirror selection dropdown.
Modified: websites/production/db/content/derby/releases/release-10.14.1.0.html Modified: websites/production/db/content/derby/releases/release-10.14.1.0.html ============================================================================== --- websites/production/db/content/derby/releases/release-10.14.1.0.html (original) +++ websites/production/db/content/derby/releases/release-10.14.1.0.html 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="http://www.apache.org/mirrors/">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] +</select> +<input type="submit" value="Change" /> </form> <p>There are four different distributions:</p> <ul>