Improved: Removed some unused commented code

(OFBIZ-10482)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1847350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2018-11-24 09:27:27 +00:00
parent 9418ad3bab
commit cc74c200ec
2 changed files with 1 additions and 84 deletions
+1 -13
View File
@@ -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>
-71
View File
@@ -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="&quot;${currentValue.contentId}&quot;.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>