svn commit: samba-web r247 - trunk
deryck at samba.org
deryck at samba.org
Wed Aug 11 00:25:57 GMT 2004
Author: deryck
Date: 2004-08-11 00:25:57 +0000 (Wed, 11 Aug 2004)
New Revision: 247
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-web&path=/&rev=247&nolog=1
Log:
Add further safety nets for non-javascript enabled browsers.
--deryck
Added:
trunk/mirrors_lists.html
Modified:
trunk/header2.html
trunk/redirect_us.html
Changeset:
Modified: trunk/header2.html
===================================================================
--- trunk/header2.html 2004-08-10 17:57:00 UTC (rev 246)
+++ trunk/header2.html 2004-08-11 00:25:57 UTC (rev 247)
@@ -59,11 +59,14 @@
<input type="submit" value="Go" />
</form>
<span>|</span>
- <form action="no_script_required.cgi" name="mirrorForm">
+ <form action="no_script_yet.cgi" name="mirrorForm">
<select name="mirrorLocation" onchange="changeMirror(this.form.mirrorLocation)">
<option selected="selected">Choose A Mirror</option>
<!--#include virtual="/samba/mirror_options.html" -->
</select>
+ <noscript>
+ <input type="submit" value="Go" />
+ </noscript>
</form>
</div>
</div>
Added: trunk/mirrors_lists.html
===================================================================
--- trunk/mirrors_lists.html 2004-08-10 17:57:00 UTC (rev 246)
+++ trunk/mirrors_lists.html 2004-08-11 00:25:57 UTC (rev 247)
@@ -0,0 +1,16 @@
+<html>
+
+<head><title>Samba -- Opening Windows to a Wider World</title></head>
+
+<body>
+
+<h3>Please chose a mirror</h3>
+
+<h4>For the samba.org web site:</h4>
+<!--#include virtual="/samba/web_hosts.html" -->
+
+<h4>For download ftp sites:</h4>
+<!--#include virtual="ftp_hosts.html" -->
+
+</body>
+</html>
Modified: trunk/redirect_us.html
===================================================================
--- trunk/redirect_us.html 2004-08-10 17:57:00 UTC (rev 246)
+++ trunk/redirect_us.html 2004-08-11 00:25:57 UTC (rev 247)
@@ -32,7 +32,9 @@
<body onload="javascript:window.location=randomMirror[index]">
+<p>You do not have javascript enabled and therefore have not been redirected to a Samba mirror. Please go <a href="/samba/mirrors_lists.html">here</a> instead.</p>
+<p>We are sorry for the inconvenience.</p>
</body>
</html>
More information about the samba-cvs
mailing list