Author: deepak
Date: Sat Nov 24 09:27:27 2018 New Revision: 1847350 URL: http://svn.apache.org/viewvc?rev=1847350&view=rev Log: Improved: Removed some unused commented code (OFBIZ-10482) Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl ofbiz/ofbiz-plugins/trunk/ecommerce/widget/ForumForms.xml Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl?rev=1847350&r1=1847349&r2=1847350&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl Sat Nov 24 09:27:27 2018 @@ -118,9 +118,6 @@ under the License. <input type="text" class="form-control form-control-sm" name="quantity" id="quantity" value="${requestParameters.quantity?default("1")}" /> <input type="submit" class="btn btn-outline-secondary btn-sm btn-sm" value="${uiLabelMap.OrderAddToCart}" /> - <#-- <a href="javascript:document.quickaddform.submit()" class="btn btn-outline-secondary btn-sm"> - <span>[${uiLabelMap.OrderAddToCart}]</span> - </a> --> </div> </form> </div> @@ -233,10 +230,6 @@ under the License. <#list shoppingCart.items() as cartLine> <#assign cartLineIndex = shoppingCart.getItemIndex(cartLine) /> <#assign lineOptionalFeatures = cartLine.getOptionalProductFeatures() /> - <#-- show adjustment info --> - <#list cartLine.getAdjustments() as cartLineAdjustment> - <!-- cart line ${cartLineIndex} adjustment: ${cartLineAdjustment} --> - </#list> <tr id="cartItemDisplayRow_${cartLineIndex}"> <td> <#if cartLine.getShoppingListId()??> @@ -669,9 +662,4 @@ under the License. <#if (shoppingCartSize?default(0) > 0)> ${screens.render("component://ecommerce/widget/CartScreens.xml#promoUseDetailsInline")} -</#if> - -<!-- Internal cart info: productStoreId=${shoppingCart.getProductStoreId()!} - locale=${shoppingCart.getLocale()!} currencyUom=${shoppingCart.getCurrency()!} - userLoginId=${(shoppingCart.getUserLogin().getString("userLoginId"))!} - autoUserLogin=${(shoppingCart.getAutoUserLogin().getString("userLoginId"))!} --> +</#if> \ No newline at end of file Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/ForumForms.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/widget/ForumForms.xml?rev=1847350&r1=1847349&r2=1847350&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/widget/ForumForms.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/widget/ForumForms.xml Sat Nov 24 09:27:27 2018 @@ -92,19 +92,6 @@ under the License. </entity-options> </drop-down> </field> - <!-- - <field name="newTopicId" position="2"> - <text size="12"/> - </field> - <field name="newTopicDescription" title="Description" position="3"> - <text size="24"/> - </field> - <field name="createTopic" title=" " position="4"> - <hyperlink also-hidden="false" target="createTopic${pageName}" description="Create Topic"> - <parameter param-name="mode" value="restore"/> - </hyperlink> - </field> - --> <field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -182,12 +169,6 @@ under the License. <field name="dataResourceId" title="${uiLabelMap.ContentDataResourceId}"><text-find/></field> <field name="contentName"><text-find/></field> <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field> -<!-- - <field name="createLink" title=" " widget-style="buttontext"> - <hyperlink also-hidden="false" description="Create New" target="AddContent"/> - </field> ---> - </form> <form name="ListFindContent" type="list" target="" @@ -198,23 +179,7 @@ under the License. <parameter param-name="contentId"/> <parameter param-name="drDataResourceId"/> </hyperlink> -<!-- - <hyperlink description="${uiLabelMap.CommonEdit}" target="EditContent" also-hidden="false"> - <parameter param-name="caContentIdTo"/> - <parameter param-name="caFromDate"/> - <parameter param-name="contentId"/> - <parameter param-name="drDataResourceId"/> - <parameter param-name="caContentId"/> - <parameter param-name="contentIdStart"/> - <parameter param-name="caContentAssocTypeId"/> - </hyperlink> ---> </field> -<!-- - <field name="caContentIdTo" title="Publish-to content" ><display/></field> - <field name="caMapKey" title="Map Key" ><display/></field> - <field name="caFromDate" title="From Date" ><display/></field> ---> <field name="contentId"><display/></field> <field name="dataResourceId" title="${uiLabelMap.ContentDataResourceId}"><display/></field> <field name="contentName"><display/></field> @@ -274,19 +239,6 @@ under the License. <list-options list-name="topicList" key-name="contentId"/> </drop-down> </field> - <!-- - <field name="newTopicId" position="2"> - <text size="12"/> - </field> - <field name="newTopicDescription" title="Description" position="3"> - <text size="24"/> - </field> - <field name="createTopic" title=" " position="4"> - <hyperlink also-hidden="false" target="createTopic${pageName}" description="Create Topic"> - <parameter param-name="mode" value="restore"/> - </hyperlink> - </field> - --> <field name="submitButton" title="${uiLabelMap.CommonUpload}" widget-style="smallSubmit"> <submit button-type="button"/> </field> @@ -643,11 +595,6 @@ under the License. <field name="dataResourceTypeId" > <hidden value="${dataResourceTypeId}"/> </field> -<!-- - <field name="submitContentEdit" title=" "> - <hyperlink description="Submit" target="javascript:document.EditAddContent.action='${persistAction}'; document.EditAddContent.submit()" also-hidden="false" target-type="plain"/> - </field> ---> <field name="deactivateExisting" > <hidden value="true"/> </field> @@ -656,22 +603,12 @@ under the License. </form> <form name="EditAddBioContent" target="persistBioContent" title="" type="single" extends="EditAddContentMaster"> </form> -<!-- - <form name="AddResponse" target="uploadResponse" title="" type="single" extends="EditAddContentMaster"> - </form> ---> <form name="EditAddImageMaster" target="" title="" type="upload" default-title-style="tableheadtext" default-widget-style="inputBox"> <field name="dataResourceId" map-name="currentValue"> <hidden/> </field> - <!-- - <field name="contentId" position="1" map-name="currentValue" - use-when=""${currentValue.contentId}".length()>0" > - <display /> - </field> - --> <field name="imageData" > <file /> </field> @@ -687,14 +624,6 @@ under the License. <field name="statusId" map-name="currentValue"> <hidden /> </field> - <!-- - <field name="contentAssocTypeId" > - <hidden value=""/> - </field> - <field name="contentTypeId" > - <hidden value="${contentTypeId}"/> - </field> - --> <field name="contentPurposeString" > <hidden value="${contentPurposeTypeId}"/> </field> |
Free forum by Nabble | Edit this page |