A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza

OFBIZ-3684 - XHTML validation errors round 2 (party)
https://issues.apache.org/jira/browse/OFBIZ-3684
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

visitdetail.ftl
From must be inside td.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935271 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bruno Busco
2010-04-17 22:31:44 +00:00
parent 35ac7ec381
commit 6eff56b946
4 changed files with 16 additions and 16 deletions
@@ -25,7 +25,7 @@ under the License.
<body>
<h1>${title?if_exists}</h1>
<p>Thank you for registering. Please click the link below to complete your registration.</p>
<br><br>
<br/><br/>
<a href="${baseUrl}/cmssite/cms/verifyEmailAddress?verifyHash=${parameters.verifyHash}">www.cmssite.com/cms/registration.html</a>
</body>
</html>
@@ -169,10 +169,10 @@ under the License.
<select name="countryGeoId">
<#if (mechMap.postalAddress?exists) && (mechMap.postalAddress.countryGeoId?exists)>
<#assign defaultCountryGeoId = (mechMap.postalAddress.countryGeoId)>
<option selected value="${defaultCountryGeoId}">
<option selected="selected" value="${defaultCountryGeoId}">
<#else>
<#assign defaultCountryGeoId = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("general.properties", "country.geo.id.default")>
<option selected value="${defaultCountryGeoId}">
<option selected="selected" value="${defaultCountryGeoId}">
</#if>
<#assign countryGeo = delegator.findByPrimaryKey("Geo",Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId",defaultCountryGeoId))>
${countryGeo.get("geoName",locale)}
@@ -44,7 +44,7 @@ under the License.
</td>
</tr>
<#if noteRef_has_next>
<tr><td colspan="2"><hr></td></tr>
<tr><td colspan="2"><hr/></td></tr>
</#if>
</#list>
</table>
@@ -178,31 +178,31 @@ under the License.
<div class="screenlet-body">
<#if security.hasPermission("SEND_CONTROL_APPLET", session)>
<table class="basic-table" cellspacing="0">
<form name="pushPage" method="get" action="<@ofbizUrl>pushPage</@ofbizUrl>">
<tr>
<th>${uiLabelMap.PartyPushURL}</th>
<td>
<input type="hidden" name="followerSid" value="${visit.sessionId}" />
<input type="hidden" name="visitId" value="${visit.visitId}" />
<input type="text" name="pageUrl" />
<form name="pushPage" method="get" action="<@ofbizUrl>pushPage</@ofbizUrl>">
<input type="hidden" name="followerSid" value="${visit.sessionId}" />
<input type="hidden" name="visitId" value="${visit.visitId}" />
<input type="text" name="pageUrl" />
<input type="submit" value="${uiLabelMap.CommonSubmit}" />
</form>
</td>
<td><input type="submit" value="${uiLabelMap.CommonSubmit}" /></td>
</tr>
<tr>
<td colspan="3"><hr /></td>
</tr>
</form>
<form name="setFollower" method="get" action="<@ofbizUrl>setAppletFollower</@ofbizUrl>">
<tr>
<th>${uiLabelMap.PartyFollowSession}</th>
<td>
<input type="hidden" name="followerSid" value="${visit.sessionId}" />
<input type="hidden" name="visitId" value="${visit.visitId}" />
<input type="text" name="followSid" />
<form name="setFollower" method="get" action="<@ofbizUrl>setAppletFollower</@ofbizUrl>">
<input type="hidden" name="followerSid" value="${visit.sessionId}" />
<input type="hidden" name="visitId" value="${visit.visitId}" />
<input type="text" name="followSid" />
<input type="submit" value="${uiLabelMap.CommonSubmit}" />
</form>
</td>
<td><input type="submit" value="${uiLabelMap.CommonSubmit}" /></td>
</tr>
</form>
</table>
</#if>
</div>