From: <rp...@hy...> - 2008-07-07 22:09:06
|
Author: rpack Date: 2008-07-07 15:09:03 -0700 (Mon, 07 Jul 2008) New Revision: 10031 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=10031 Modified: trunk/web/common/About.jsp trunk/web/common/Error.jsp trunk/web/common/GenericError.jsp trunk/web/common/NoRights.jsp trunk/web/portal/MainLayout.jsp Log: Use a valid html tag and doctype. Move the help link into the document Modified: trunk/web/common/About.jsp =================================================================== --- trunk/web/common/About.jsp 2008-07-07 22:06:14 UTC (rev 10030) +++ trunk/web/common/About.jsp 2008-07-07 22:09:03 UTC (rev 10031) @@ -28,15 +28,17 @@ USA. --%> -<script type="text/javascript"> - var help = "<hq:help/>"; -</script> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><fmt:message key="about.Title"/></title> <link rel=stylesheet href="<html:rewrite page="/css/"/>win.css" type="text/css"> <script src="<html:rewrite page="/js/"/>functions.js" type="text/javascript"></script> +<script type="text/javascript"> + var help = "<hq:help/>"; +</script> </head> <body> Modified: trunk/web/common/Error.jsp =================================================================== --- trunk/web/common/Error.jsp 2008-07-07 22:06:14 UTC (rev 10030) +++ trunk/web/common/Error.jsp 2008-07-07 22:09:03 UTC (rev 10031) @@ -135,13 +135,10 @@ ); - - - function displayStackTrace<%= randomNum %>() { errorPopup = open("","errorPopup<%= randomNum %>","width=750,height=600,resizable=yes,scrollbars=yes,left=200,top=10"); errorPopup.document.open(); - errorPopup.document.write("<html><title><fmt:message key="errors.jsp.problem"/></title>"); + errorPopup.document.write("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><title><fmt:message key="errors.jsp.problem"/></title>"); errorPopup.document.write("<body>\n" + "<link rel=stylesheet href=\"<html:rewrite page="/css/win.css"/>\" type=\"text/css\">" + "<a name=\"top\"></a>\n" + Modified: trunk/web/common/GenericError.jsp =================================================================== --- trunk/web/common/GenericError.jsp 2008-07-07 22:06:14 UTC (rev 10030) +++ trunk/web/common/GenericError.jsp 2008-07-07 22:09:03 UTC (rev 10031) @@ -30,16 +30,17 @@ USA. --%> -<script type="text/javascript"> - var help = "<hq:help/>"; -</script> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><fmt:message key="error.Error.Title"/></title> <link rel=stylesheet href="<html:rewrite page="/css/win.css"/>" type="text/css"> <script src="<html:rewrite page="/js/functions.js"/>" type="text/javascript"></script> +<script type="text/javascript"> + var help = "<hq:help/>"; +</script> </head> <body> <br> Modified: trunk/web/common/NoRights.jsp =================================================================== --- trunk/web/common/NoRights.jsp 2008-07-07 22:06:14 UTC (rev 10030) +++ trunk/web/common/NoRights.jsp 2008-07-07 22:09:03 UTC (rev 10031) @@ -29,15 +29,17 @@ USA. --%> -<script type="text/javascript"> - var help = "<hq:help/>"; -</script> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><fmt:message key="securityAlert.SecurityAlert.Title"/></title> <link rel=stylesheet href="<html:rewrite page="/css/win.css"/>" type="text/css"> <script src="<html:rewrite page="/js/functions.js"/>" type="text/javascript"></script> +<script type="text/javascript"> + var help = "<hq:help/>"; +</script> </head> <body> Modified: trunk/web/portal/MainLayout.jsp =================================================================== --- trunk/web/portal/MainLayout.jsp 2008-07-07 22:06:14 UTC (rev 10030) +++ trunk/web/portal/MainLayout.jsp 2008-07-07 22:09:03 UTC (rev 10031) @@ -30,7 +30,10 @@ <%@ taglib uri="jstl-c" prefix="c" %> <%@ taglib uri="jstl-fmt" prefix="fmt" %> -<html:html locale="true"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <tiles:insert attribute="head" /> <title> @@ -93,4 +96,4 @@ <tiles:insert attribute="footer" /> </div> </body> -</html:html> +</html> |