svn commit: r935271 - in /ofbiz/trunk/applications/party: templates/email/VerifyEmailAddressNotification.ftl webapp/partymgr/party/editcontactmech.ftl webapp/partymgr/party/profileblocks/Notes.ftl webapp/partymgr/visit/visitdetail.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r935271 - in /ofbiz/trunk/applications/party: templates/email/VerifyEmailAddressNotification.ftl webapp/partymgr/party/editcontactmech.ftl webapp/partymgr/party/profileblocks/Notes.ftl webapp/partymgr/visit/visitdetail.ftl

buscob
Author: buscob
Date: Sat Apr 17 22:31:44 2010
New Revision: 935271

URL: http://svn.apache.org/viewvc?rev=935271&view=rev
Log:
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.

Modified:
    ofbiz/trunk/applications/party/templates/email/VerifyEmailAddressNotification.ftl
    ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Notes.ftl
    ofbiz/trunk/applications/party/webapp/partymgr/visit/visitdetail.ftl

Modified: ofbiz/trunk/applications/party/templates/email/VerifyEmailAddressNotification.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/templates/email/VerifyEmailAddressNotification.ftl?rev=935271&r1=935270&r2=935271&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/templates/email/VerifyEmailAddressNotification.ftl (original)
+++ ofbiz/trunk/applications/party/templates/email/VerifyEmailAddressNotification.ftl Sat Apr 17 22:31:44 2010
@@ -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>
\ No newline at end of file

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl?rev=935271&r1=935270&r2=935271&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl Sat Apr 17 22:31:44 2010
@@ -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)}

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Notes.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Notes.ftl?rev=935271&r1=935270&r2=935271&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Notes.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Notes.ftl Sat Apr 17 22:31:44 2010
@@ -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>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/visit/visitdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/visit/visitdetail.ftl?rev=935271&r1=935270&r2=935271&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/visit/visitdetail.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/visit/visitdetail.ftl Sat Apr 17 22:31:44 2010
@@ -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>