Try both binarizers, use appspot stylesheet, update dependency libs
[zxing.git] / zxingorg / web / notfound.jspx
index fdd4dd4..039391b 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>  
+<!-- Author: Sean Owen -->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
+<jsp:directive.page contentType="text/html" session="false"/>
+<jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
+<jsp:text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">]]></jsp:text>
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-<head><title>No Barcode Found</title></head>
-<body>
-<p><b>No Barcode Found</b></p>
-<p>No barcode was found in this image. Either it did not contain a barcode, or did not contain one in a
-supported format, or the software was simply unable to find it. Go "Back" in your browser and try another image.</p>
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-788492-5";
-urchinTracker();
-</script>
-</body>
+  <head>
+    <title>No Barcode Found</title>
+    <link rel="stylesheet" href="style.css" type="text/css"/>    
+  </head>
+  <body>
+    <div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> No Barcode Found</h1></div>
+    <p>No barcode was found in this image. Either it did not contain a barcode, or did not contain one in a
+      supported format, or the software was simply unable to find it. Go "Back" in your browser and try another image.
+    </p>
+    <jsp:include page="analytics.jspx"/>
+  </body>
 </html>
 </jsp:root>