Fix small display problem when extension starts with 9
[zxing.git] / zxingorg / web / index.jspx
index 9d670fd..809d681 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- Copyright (C) 2008 Google Inc.
+ Copyright 2008 ZXing authors
 
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns="http://www.w3.org/1999/xhtml" version="2.1">
-  <jsp:output
-          omit-xml-declaration="false" doctype-root-element="html"
-          doctype-public="-//WAPFORUM//DTD XHTML Mobile 1.1//EN"
-          doctype-system="http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd"/>
-  <jsp:directive.page contentType="application/xhtml+xml" session="false"/>
-  <jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
-  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-    <head>
-      <title>Download ZXing Reader</title>
-    </head>
-    <body>
-      <p>
-        <strong>Welcome to zxing!</strong>
-      </p>
-      <p>
-        <a href="BarcodeReader.jad">Download</a>
-        the ZXing Barcode Reader.
-      </p>
-      <p>
-        <strong>Having problems with the regular version?</strong>
-      </p>
-      <p>
-        <a href="BarcodeReaderBasic.jad">Download</a>
-        the ZXing Barcode Reader Basic version.
-      </p>
-      <p>
-        <strong>An Android client is available for the curious:</strong>
-      </p>
-      <p>
-        <a href="BarcodeReader.apk">Download</a>
-        the Android client.
-      </p>
-      <script type="text/javascript">
-        var gaJsHost = (("https:" == document.location.protocol) ?
-        "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost +
-        "google-analytics.com/ga.js'
-        type='text/javascript'%3E%3C/script%3E"));
-      </script>
-      <script type="text/javascript">
-        var pageTracker = _gat._getTracker("UA-788492-5");
-        pageTracker._initData();
-        pageTracker._trackPageview();
-      </script>
-    </body>
-  </html>
+<!-- Author: Sean Owen -->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
+<jsp:directive.page contentType="application/xhtml+xml" session="false"/>
+<jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
+<jsp:text><![CDATA[<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">]]></jsp:text>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+  <head>
+    <title>Download ZXing Reader</title>
+  </head>
+  <body>
+    <h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Download ZXing Reader</h1>
+    <p>
+      <a href="market://search?q=pname%3Acom.google.zxing.client.android">Download</a> the Android client.
+    </p>
+    <p>
+      <a href="BarcodeReader.jad">Download</a> the Barcode Reader for J2ME.
+    </p>
+    <p>
+      (<a href="basic/BarcodeReader.jad">Download</a> the alternate "basic" version for J2ME.)
+    </p> 
+    <p>Copyright 2008 and onwards ZXing authors</p>
+    <jsp:include page="analytics.jspx"/>
+  </body>
+</html>
 </jsp:root>