From ddd826e52c19394d3eade9d474cf4143bc66eed0 Mon Sep 17 00:00:00 2001 From: Bruno Busco Date: Wed, 7 Apr 2010 20:15:21 +0000 Subject: [PATCH] A patch from Blas Rodriguez Somoza OFBIZ-3621 - XHTML validation errors (themes) XHTML validation errors * Unclosed INPUT * attributes without values (checked, selected, disabled, etc) * attribute values without " * Uppercase tags or attributes. * Unencoded ampersands in urls. Other errors: Header.ftl (tomahawk & droppingcrumbs) Line 108. Wrong markup. Div can't be inside
Style.css (tomahawk & droppingcrumbs) Line 945. The logo is used as the background of the logo area, but because the size of the background image means nothing for dimensioning, it will be clipped. background: url(../images/ofbiz_logo.png) no-repeat; Solution: This is a hack to put the logo in the style sheet as the background. If the logo is only in the stylesheet without any trick, the logo will be clipped and disappears. The logo can be loaded as an image directly in header.ftl and it will appear without clip and without any hack in header.ftl. appbarOpen.ftl (droppingcrumbs) Line 99, unclosed
  • and
  • + + diff --git a/themes/droppingcrumbs/includes/header.ftl b/themes/droppingcrumbs/includes/header.ftl index 6440dcd336..378f820380 100644 --- a/themes/droppingcrumbs/includes/header.ftl +++ b/themes/droppingcrumbs/includes/header.ftl @@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> +<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey?if_exists> <#if (requestAttributes.person)?exists><#assign person = requestAttributes.person> <#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup> @@ -113,7 +113,7 @@ under the License.