svn commit: r1801306 - /ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl

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

svn commit: r1801306 - /ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl

Deepak Dixit-5
Author: deepak
Date: Sat Jul  8 17:47:09 2017
New Revision: 1801306

URL: http://svn.apache.org/viewvc?rev=1801306&view=rev
Log:
Improved: Set the default value for Html Menu Macro Library (OFBIZ-7877)
Thanks Renuka Srishti for your contribution.

Modified:
    ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl

Modified: ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl?rev=1801306&r1=1801305&r2=1801306&view=diff
==============================================================================
--- ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl (original)
+++ ofbiz/branches/release16.11/framework/widget/templates/HtmlMenuMacroLibrary.ftl Sat Jul  8 17:47:09 2017
@@ -42,11 +42,11 @@ under the License.
 </#if>
 </#macro>
 
-<#macro renderImage src id style width height border>
+<#macro renderImage src id="" style="" width="" height="" border="">
 <img src="${src}"<#if id?has_content> id="${id}"</#if><#if style?has_content> class="${style}"</#if><#if width?has_content> width="${width}"</#if><#if height?has_content> height="${height}"</#if><#if border?has_content> border="${border}"</#if> />
 </#macro>
 
-<#macro renderLink linkUrl parameterList targetWindow uniqueItemName actionUrl linkType="" id="" style="" name="" height="" width="" text="" imgStr="">
+<#macro renderLink linkUrl parameterList actionUrl uniqueItemName="" targetWindow="" linkType="" id="" style="" name="" height="" width="" text="" imgStr="">
   <#if linkType?has_content && "hidden-form" == linkType>
 <form method="post" action="${actionUrl}"<#if targetWindow?has_content> target="${targetWindow}"</#if> onsubmit="javascript:submitFormDisableSubmits(this)" name="${uniqueItemName}"><#rt/>
     <#list parameterList as parameter>
@@ -98,7 +98,7 @@ under the License.
   </#if>
 </#macro>
 
-<#macro renderMenuItemBegin style toolTip linkStr containsNestedMenus>
+<#macro renderMenuItemBegin containsNestedMenus style="" toolTip="" linkStr="">
         <li<#if style?has_content> class="${style}"</#if><#if toolTip?has_content> title="${toolTip}"</#if>><#if linkStr?has_content>${linkStr}</#if><#if containsNestedMenus><ul></#if><#rt/>
 </#macro>