changeset 978:cfea6dacd52a

Removed (X)HTML errors and warnings (issue275). gnv/trunk@1153 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 04 Jun 2010 06:13:41 +0000
parents 2444da07e487
children 96db238fc5ab
files gnv/ChangeLog gnv/src/main/webapp/WEB-INF/jsp/footer.jsp gnv/src/main/webapp/WEB-INF/jsp/header.jsp gnv/src/main/webapp/WEB-INF/jsp/index.jsp gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp
diffstat 5 files changed, 41 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Fri Jun 04 05:37:42 2010 +0000
+++ b/gnv/ChangeLog	Fri Jun 04 06:13:41 2010 +0000
@@ -1,3 +1,13 @@
+2010-06-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue275
+
+	* src/main/webapp/WEB-INF/jsp/index.jsp,
+	  src/main/webapp/WEB-INF/jsp/header.jsp,
+	  src/main/webapp/WEB-INF/jsp/footer.jsp,
+	  src/main/webapp/WEB-INF/jsp/mainlayout.jsp: Removed (X)HTML
+	  errors/warnings.
+
 2010-06-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue293
--- a/gnv/src/main/webapp/WEB-INF/jsp/footer.jsp	Fri Jun 04 05:37:42 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/footer.jsp	Fri Jun 04 06:13:41 2010 +0000
@@ -2,28 +2,26 @@
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
-<html>
-    <table class="footerTable">
-        <tr>
-            <td class="footerLine">© 2010 Bundesamt für Seeschifffahrt und Hydrographie</td>
-            <td></td>
-        </tr>
-        <tr>
-            <td colspan="2">
-                <table class="footerTableLinks">
-                    <tr>
-                        <td align="left"></td>
-                        <td align="right">
-                            <html:link styleClass="footerLineLinks" href="http://www.bsh.de"><bean:message key="gnviewer.footer.home"/></html:link>
-                            <font size="1.5em" color="white">&middot;</font>
-                            <html:link styleClass="footerLineLinks" href="mailto:"><bean:message key="gnviewer.footer.contact"/></html:link>
-                            <font size="1.5em" color="white">&middot;</font>
-                            <html:link styleClass="footerLineLinks" page="/imprint.do"><bean:message key="gnviewer.footer.about"/></html:link>
-                        </td>
-                    </tr>
-                </table>
-            </td>
-        </tr>
-    </table>
-</html>
+<table class="footerTable">
+    <tr>
+        <td class="footerLine">© 2010 Bundesamt für Seeschifffahrt und Hydrographie</td>
+        <td></td>
+    </tr>
+    <tr>
+        <td colspan="2">
+            <table class="footerTableLinks">
+                <tr>
+                    <td align="left"></td>
+                    <td align="right">
+                        <html:link styleClass="footerLineLinks" href="http://www.bsh.de"><bean:message key="gnviewer.footer.home"/></html:link>
+                        <font color="white">&middot;</font>
+                        <html:link styleClass="footerLineLinks" href="mailto:"><bean:message key="gnviewer.footer.contact"/></html:link>
+                        <font color="white">&middot;</font>
+                        <html:link styleClass="footerLineLinks" page="/imprint.do"><bean:message key="gnviewer.footer.about"/></html:link>
+                    </td>
+                </tr>
+            </table>
+        </td>
+    </tr>
+</table>
 <%--div style="clear: left; margin-top: 40px;"/--%>
--- a/gnv/src/main/webapp/WEB-INF/jsp/header.jsp	Fri Jun 04 05:37:42 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/header.jsp	Fri Jun 04 06:13:41 2010 +0000
@@ -9,16 +9,16 @@
     <h1 class="headline">BSH Generischer Viewer</h1>
 </div>
 
-<br>
+<br/>
 
 <table class="headerTableLinks">
     <tr>
         <td align="left"></td>
         <td align="right">
             <html:link styleClass="headerLineLinks" href="./start.do"><bean:message key="gnviewer.header.restart"/></html:link>
-            <font size="1.5em" color="white">&middot;</font>
+            <font color="white">&middot;</font>
             <a class="headerLineLinks" href="<%=response.encodeURL("language.do?uid="+System.currentTimeMillis())%>"><bean:message key="gnviewer.header.language"/></a>
-            <font size="1.5em" color="white">&middot;</font>
+            <font color="white">&middot;</font>
             <html:link styleClass="headerLineLinks" page="/info.do"><bean:message key="gnviewer.header.info"/></html:link>
         </td>
     </tr>
--- a/gnv/src/main/webapp/WEB-INF/jsp/index.jsp	Fri Jun 04 05:37:42 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/index.jsp	Fri Jun 04 06:13:41 2010 +0000
@@ -102,7 +102,7 @@
                             <%=ui != null ? ui.toString().replaceAll("&nbsp;", "") : "" %>
 
                             <%if(furthertargets){%>
-                                <br>
+                                <br/>
                                 <input style="margin-top: 5px;" type="image" src="<bean:message key="gnviewer.select.button.src"/>"/>
                             <%}%>
                             </fieldset>
--- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Fri Jun 04 05:37:42 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Fri Jun 04 06:13:41 2010 +0000
@@ -69,13 +69,11 @@
     <div id="overlay"></div>
     <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;">
         <div id="overlayContent">
-            <p>
-                <bean:message key="gnviewer.productselection.overlay.title"/>
-                <p class="reload">
-                    <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
-                        <bean:message key="application.reload"/>
-                    </a>
-                </p>
+            <bean:message key="gnviewer.productselection.overlay.title"/>
+            <p class="reload">
+                <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
+                    <bean:message key="application.reload"/>
+                </a>
             </p>
         </div>
     </div>

http://dive4elements.wald.intevation.org