This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new 874c830 Improved: Fix issues reported by SonarQube analysis on
Github (OFBIZ-12284)
874c830 is described below
commit 874c830fbbbec9c54e608683344c20bee26e4b8a
Author: Jacques Le Roux <[email protected]>
AuthorDate: Fri Aug 6 18:16:41 2021 +0200
Improved: Fix issues reported by SonarQube analysis on Github (OFBIZ-12284)
Fixes few bugs
---
ecommerce/webapp/ecommerce/error/404.jsp | 5 +++--
multiflex/webapp/multiflex/style.css | 5 ++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ecommerce/webapp/ecommerce/error/404.jsp
b/ecommerce/webapp/ecommerce/error/404.jsp
index 0ba9b92..78cfcf9 100644
--- a/ecommerce/webapp/ecommerce/error/404.jsp
+++ b/ecommerce/webapp/ecommerce/error/404.jsp
@@ -27,7 +27,8 @@ ServletContext context = pageContext.getServletContext();
String webSiteId = WebSiteWorker.getWebSiteId(request);
List<GenericValue> webAnalytics = delegator.findByAnd("WebAnalyticsConfig",
UtilMisc.toMap("webSiteId", webSiteId), null, false);
%>
-<html>
+<!DOCTYPE html>
+<html lang="en">
<head>
<title>Error 404</title>
<%if (webAnalytics != null) {%>
@@ -40,7 +41,7 @@ List<GenericValue> webAnalytics =
delegator.findByAnd("WebAnalyticsConfig", Util
</head>
<body>
<p>
-<b>404.</b>
+<strong>404.</strong>
<ins>That's an error.</ins>
</p>
<p>
diff --git a/multiflex/webapp/multiflex/style.css
b/multiflex/webapp/multiflex/style.css
index b00b662..2f0355f 100644
--- a/multiflex/webapp/multiflex/style.css
+++ b/multiflex/webapp/multiflex/style.css
@@ -407,14 +407,13 @@ footer {
position: absolute;
z-index: 999;
top: 3.1em;
- t\op: 3.0em;
left: 0;
- marg\in-top: 0.1em;
+ margin-top: 0.1em;
}
.nav2 ul li a:hover ul li a {
display: block;
- w\idth: 10.0em;
+ width: 10.0em;
height: 1px;
line-height: 1.3em;
padding: 4px 16px 4px 16px;