svn commit: r762221 - /ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl

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

svn commit: r762221 - /ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl

jleroux@apache.org
Author: jleroux
Date: Mon Apr  6 06:41:10 2009
New Revision: 762221

URL: http://svn.apache.org/viewvc?rev=762221&view=rev
Log:
On David and Hans advices

Modified:
    ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl

Modified: ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl?rev=762221&r1=762220&r2=762221&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl Mon Apr  6 06:41:10 2009
@@ -26,21 +26,15 @@
   <div class="screenlet-title-bar">
     <ul>
       <li class="h3">Available portlets</li>
-      <li>
-        <form name="ManagePortalPages" method= "post" action= "<@ofbizUrl>ManagePortalPages</@ofbizUrl>">
-          <input type= "hidden" name= "portalPageId" value= "${parameters.portalPageId}">
-          <input type= "hidden" name= "parentPortalPageId" value= "${parameters.parentPortalPageId}">
-          <a href="javascript:document.createProductionRunsForShipment.submit()" class="buttontext">${uiLabelMap.CommonCancel}</a>
-        </form>
-      </li>
+      <li><a href="<@ofbizUrl>ManagePortalPages?portalPageId=${parameters.portalPageId}&parentPortalPageId=${parameters.parentPortalPageId}</@ofbizUrl>">${uiLabelMap.CommonCancel}</a></li>
     </ul>
     <br class="clear"/>
   </div>
   <#if portalPortlets?has_content>
-    <#assign orderByList = Static["org.ofbiz.base.util.UtilMisc"].toList("portalPortletId")/>
-
+    <#assign orderByList = Static["org.ofbiz.base.util.UtilMisc"].toList("portalPortletId")/>
+    
     <table cellspacing="20" class="basic-table">
-      <#assign leftColumn = true/>
+      <#assign leftColumn = true/>
       <#list portalPortlets as portalPortlet>
         <#if leftColumn==true>
         <tr>
@@ -72,7 +66,7 @@
         <#if leftColumn==false>
         </tr>
         </#if>
-        <#assign leftColumn = !leftColumn/>
+        <#assign leftColumn = !leftColumn/>
       </#list>
     </table>
     <#else/>