You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/08/18 09:42:37 UTC
svn commit: r1618554 [37/38] - in
/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23: ./
applications/accounting/config/
applications/accounting/script/org/ofbiz/accounting/invoice/
applications/accounting/src/org/ofbiz/accounting/invoice/ appli...
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ClosedSprintNotification.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ClosedSprintNotification.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ClosedSprintNotification.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ClosedSprintNotification.ftl Mon Aug 18 07:42:27 2014
@@ -22,12 +22,12 @@ under the License.
<title>${title}</title>
</head>
<body>
- <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
- <p>Your Sprint <b>${sprint.workEffortName?if_exists} [${sprint.workEffortId}]</b> in the project <b>${project.workEffortName?if_exists} [${project.workEffortId?if_exists}]</b>
- of the product <b>${prodcut.internalName?if_exists} [${prodcut.productId?if_exists}]</b> has been Closed.
+ <p>Hello ${person.firstName!} ${person.lastName!},</p>
+ <p>Your Sprint <b>${sprint.workEffortName!} [${sprint.workEffortId}]</b> in the project <b>${project.workEffortName!} [${project.workEffortId!}]</b>
+ of the product <b>${prodcut.internalName!} [${prodcut.productId!}]</b> has been Closed.
<br />
<br />
- The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl?if_exists)}/scrum/control/ViewSprint?sprintId=${sprint.workEffortId}">here.....</a>
+ The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl!)}/scrum/control/ViewSprint?sprintId=${sprint.workEffortId}">here.....</a>
<br /><br />
Regards.<br /><br />
Thank you for your business.
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/CompletedBacklogNotification.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/CompletedBacklogNotification.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/CompletedBacklogNotification.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/CompletedBacklogNotification.ftl Mon Aug 18 07:42:27 2014
@@ -22,13 +22,13 @@ under the License.
<title>${title}</title>
</head>
<body>
- <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
- <p>Your backlog <b>${custRequest.description?if_exists} [${custRequest.custRequestId}]</b> <#if informationMap.workEffortId?has_content>in sprint <b>${informationMap.workEffortName?if_exists} [${informationMap.workEffortId?if_exists}]</b></#if>
- <#if informationMap.productId?has_content>of the product <b>${informationMap.internalName?if_exists} [${informationMap.productId?if_exists}]</#if></b> has been completed.
+ <p>Hello ${person.firstName!} ${person.lastName!},</p>
+ <p>Your backlog <b>${custRequest.description!} [${custRequest.custRequestId}]</b> <#if informationMap.workEffortId?has_content>in sprint <b>${informationMap.workEffortName!} [${informationMap.workEffortId!}]</b></#if>
+ <#if informationMap.productId?has_content>of the product <b>${informationMap.internalName!} [${informationMap.productId!}]</#if></b> has been completed.
<br />
<br />
<#if custRequest.fromPartyId == partyIdTo>
- The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl?if_exists)}/scrum/control/ViewProdBacklogItem?custRequestId=${custRequest.custRequestId?if_exists}">here.....</a>
+ The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl!)}/scrum/control/ViewProdBacklogItem?custRequestId=${custRequest.custRequestId!}">here.....</a>
<br /><br />
</#if>
Regards.<br /><br />
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ReviewedBacklogNotification.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ReviewedBacklogNotification.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ReviewedBacklogNotification.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/templates/ReviewedBacklogNotification.ftl Mon Aug 18 07:42:27 2014
@@ -22,14 +22,14 @@ under the License.
<title>${title}</title>
</head>
<body>
- <p>Hello ${person.firstName?if_exists} ${person.lastName?if_exists},</p>
- <p>Your backlog <b>${custRequest.description?if_exists} [${custRequest.custRequestId}]</b>
- <#if informationMap.workEffortId?has_content>has been added to sprint <b>${informationMap.workEffortName?if_exists} [${informationMap.workEffortId?if_exists}]</b></#if><br />
- <#if informationMap.productId?has_content>The related product: <b>${informationMap.internalName?if_exists} [${informationMap.productId?if_exists}]</#if></b>.
+ <p>Hello ${person.firstName!} ${person.lastName!},</p>
+ <p>Your backlog <b>${custRequest.description!} [${custRequest.custRequestId}]</b>
+ <#if informationMap.workEffortId?has_content>has been added to sprint <b>${informationMap.workEffortName!} [${informationMap.workEffortId!}]</b></#if><br />
+ <#if informationMap.productId?has_content>The related product: <b>${informationMap.internalName!} [${informationMap.productId!}]</#if></b>.
<br />
<br />
<#if custRequest.fromPartyId == partyIdTo>
- The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl?if_exists)}/scrum/control/ViewProdBacklogItem?custRequestId=${custRequest.custRequestId?if_exists}">here.....</a>
+ The complete information about this sprint can be found <a href="${StringUtil.wrapString(baseSecureUrl!)}/scrum/control/ViewProdBacklogItem?custRequestId=${custRequest.custRequestId!}">here.....</a>
<br /><br />
</#if>
Regards.<br /><br />
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/burndown.ftl Mon Aug 18 07:42:27 2014
@@ -17,7 +17,7 @@ specific language governing permissions
under the License.
-->
-<#assign sprint = delegator.findOne("WorkEffort", Static["org.ofbiz.base.util.UtilMisc"].toMap("workEffortId", parameters.get("sprintId")), false)?if_exists />
+<#assign sprint = delegator.findOne("WorkEffort", Static["org.ofbiz.base.util.UtilMisc"].toMap("workEffortId", parameters.get("sprintId")), false)! />
<#assign actualStartDay = Static["org.ofbiz.base.util.UtilDateTime"].getDayStart(sprint.actualStartDate, timeZone, locale)/>
<#assign actualCompletionDay = Static["org.ofbiz.base.util.UtilDateTime"].getDayStart(sprint.actualCompletionDate, timeZone, locale)/>
<#assign dayNumber = ((actualCompletionDay.getTime() - actualStartDay.getTime())/1000/60/60/24) + 1/>
@@ -26,12 +26,12 @@ under the License.
<#if members.size() > 0 >
<#assign maxHours = estimatedHrs * members.size()/>
<div id="params_birtReport" style='display:none'>
- <INPUT type="HIDDEN" name="sprintId" value="${sprint.workEffortId?if_exists}"/>
- <INPUT type="HIDDEN" name="actualStartDate" value="${sprint.actualStartDate?if_exists}"/>
- <INPUT type="HIDDEN" name="actualCompletionDate" value="${sprint.actualCompletionDate?if_exists}"/>
- <INPUT type="HIDDEN" name="dayNumber" value="${dayNumber?if_exists}"/>
- <INPUT type="HIDDEN" name="estimatedHrs" value="${estimatedHrs?if_exists}"/>
- <INPUT type="HIDDEN" name="maxHours" value="${maxHours?if_exists}"/>
+ <INPUT type="HIDDEN" name="sprintId" value="${sprint.workEffortId!}"/>
+ <INPUT type="HIDDEN" name="actualStartDate" value="${sprint.actualStartDate!}"/>
+ <INPUT type="HIDDEN" name="actualCompletionDate" value="${sprint.actualCompletionDate!}"/>
+ <INPUT type="HIDDEN" name="dayNumber" value="${dayNumber!}"/>
+ <INPUT type="HIDDEN" name="estimatedHrs" value="${estimatedHrs!}"/>
+ <INPUT type="HIDDEN" name="maxHours" value="${maxHours!}"/>
</div>
<form id="form_birtReport" method="post"></form>
<script type="text/javascript">
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/revision.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/revision.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/revision.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/scrum/webapp/scrum/includes/revision.ftl Mon Aug 18 07:42:27 2014
@@ -18,7 +18,7 @@ under the License.
-->
<#if result?has_content>
<div align="center">
-<h2>Subversion Information for repository : <b><a href=${result.repository?if_exists}> ${result.repository?if_exists}</a></b>, revision# <b>${result.revision?if_exists}</b></h2>
+<h2>Subversion Information for repository : <b><a href=${result.repository!}> ${result.repository!}</a></b>, revision# <b>${result.revision!}</b></h2>
</div>
<div>
<br/><h3>Log message</h3>
@@ -26,7 +26,7 @@ under the License.
</div>
<div>
<#assign oldrevision = result.revision?number - 1 >
- <br/><h3>The differences between revisions: ${oldrevision?if_exists} and ${result.revision?if_exists} </h3>
+ <br/><h3>The differences between revisions: ${oldrevision!} and ${result.revision!} </h3>
<br/><pre>${result.diffMessage}</pre>
</div>
</#if>
\ No newline at end of file
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/Login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/Login.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/Login.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/Login.ftl Mon Aug 18 07:42:27 2014
@@ -17,11 +17,11 @@ specific language governing permissions
under the License.
-->
-<#if requestAttributes.uiLabelMap?exists>
+<#if requestAttributes.uiLabelMap??>
<#assign uiLabelMap = requestAttributes.uiLabelMap>
</#if>
-<#assign previousParams = sessionAttributes._PREVIOUS_PARAMS_?if_exists>
+<#assign previousParams = sessionAttributes._PREVIOUS_PARAMS_!>
<#if previousParams?has_content>
<#assign previousParams = "?" + previousParams>
</#if>
@@ -38,7 +38,7 @@ under the License.
<h3>${uiLabelMap.CommonRegistered}</h3>
</div>
<div class="screenlet-body">
- <form method="post" action="<@o...@ofbizUrl>" name="loginform">
+ <form method="post" action="<@o...@ofbizUrl>" name="loginform">
<table class="basic-table" cellspacing="0">
<tr>
<td class="label">${uiLabelMap.CommonUsername}</td>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl Mon Aug 18 07:42:27 2014
@@ -35,7 +35,7 @@ under the License.
<tr>
<td>${uiLabelMap.WebPosTransactionId}</td>
<td><b>${transactionId?default("NA")}</b></td>
- <td>${(paymentCash.get("description", locale))?if_exists}</td>
+ <td>${(paymentCash.get("description", locale))!}</td>
<td align="right"><b><@ofbizCurrency amount=cashAmount isoCode=shoppingCart.getCurrency()/></b></td>
<td>${uiLabelMap.WebPosTotalItemSubTotal}</td>
<td align="right"><b><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal() isoCode=shoppingCart.getCurrency()/></b></td>
@@ -43,7 +43,7 @@ under the License.
<tr>
<td>${uiLabelMap.WebPosDrawer}</td>
<td><b>${drawerNumber?default(0)}</b></td>
- <td>${(paymentCheck.get("description", locale))?if_exists}</td>
+ <td>${(paymentCheck.get("description", locale))!}</td>
<td align="right"><b><@ofbizCurrency amount=checkAmount isoCode=shoppingCart.getCurrency()/></b></td>
<td>${uiLabelMap.WebPosTotalPromotions}</td>
<td align="right"><b><@ofbizCurrency amount=shoppingCart.getOrderOtherAdjustmentTotal() isoCode=shoppingCart.getCurrency()/></b></td>
@@ -51,7 +51,7 @@ under the License.
<tr>
<td>${uiLabelMap.WebPosTerminal}</td>
<td><b><#if isOpen>${uiLabelMap.WebPosTerminalOpen}<#else>${uiLabelMap.WebPosTerminalClose}</#if></b></td>
- <td>${(paymentGift.get("description", locale))?if_exists}</td>
+ <td>${(paymentGift.get("description", locale))!}</td>
<td align="right"><b><@ofbizCurrency amount=giftAmount isoCode=shoppingCart.getCurrency()/></b></td>
<td>${uiLabelMap.WebPosTotalSalesTax}</td>
<td align="right"><b><@ofbizCurrency amount=shoppingCart.getTotalSalesTax() isoCode=shoppingCart.getCurrency()/></b></td>
@@ -59,7 +59,7 @@ under the License.
<tr>
<td></td>
<td></td>
- <td>${(paymentCredit.get("description", locale))?if_exists}</td>
+ <td>${(paymentCredit.get("description", locale))!}</td>
<td align="right"><b><@ofbizCurrency amount=creditAmount isoCode=shoppingCart.getCurrency()/></b></td>
<td>${uiLabelMap.WebPosTotalShipping}</td>
<td align="right"><b><@ofbizCurrency amount=shoppingCart.getTotalShipping() isoCode=shoppingCart.getCurrency()/></b></td>
@@ -96,24 +96,24 @@ under the License.
<tr id="cartLine${cartLineIndex}" <#if alt_row>class="pos-cart-even"<#else>class="pos-cart-odd"</#if>>
<td>
<div>
- <#if cartLine.getProductId()?exists>
+ <#if cartLine.getProductId()??>
<#-- product item -->
<#-- start code to display a small image of the product -->
- <#if cartLine.getParentProductId()?exists>
+ <#if cartLine.getParentProductId()??>
<#assign parentProductId = cartLine.getParentProductId()/>
<#else>
<#assign parentProductId = cartLine.getProductId()/>
</#if>
- <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists>
+ <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)!>
<#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
<#if smallImageUrl?string?has_content>
- <img src="<@o...@ofbizContentUrl>" align="left" class="cssImgSmall" />
+ <img src="<@o...@ofbizContentUrl>" align="left" class="cssImgSmall" />
</#if>
<#-- end code to display a small image of the product -->
- ${cartLine.getProductId()} - ${cartLine.getName()?if_exists} : ${cartLine.getDescription()?if_exists}
+ ${cartLine.getProductId()} - ${cartLine.getName()!} : ${cartLine.getDescription()!}
<#else>
<#-- this is a non-product item -->
- <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists}
+ <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!}
</#if>
</div>
</td>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCartItemSelected.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCartItemSelected.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCartItemSelected.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/cart/ShowCartItemSelected.ftl Mon Aug 18 07:42:27 2014
@@ -16,22 +16,22 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#assign focusOnQuantity = requestParameters.focusOnQuantity?if_exists/>
-<#assign cartLineIndex = requestParameters.cartLineIndex?if_exists/>
-<#if cartLineIndex?exists && cartLineIndex?has_content>
+<#assign focusOnQuantity = requestParameters.focusOnQuantity!/>
+<#assign cartLineIndex = requestParameters.cartLineIndex!/>
+<#if cartLineIndex?? && cartLineIndex?has_content>
<#assign isInteger = Static["org.ofbiz.base.util.UtilValidate"].isInteger(cartLineIndex)>
<#if isInteger>
<#assign idx = cartLineIndex?number>
- <#assign cartLine = shoppingCart.findCartItem(idx)?if_exists>
- <#if cartLine?exists && cartLine?has_content>
- <#if cartLine.getProductId()?exists>
- <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists>
+ <#assign cartLine = shoppingCart.findCartItem(idx)!>
+ <#if cartLine?? && cartLine?has_content>
+ <#if cartLine.getProductId()??>
+ <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)!>
<#if !smallImageUrl?string?has_content>
<#assign smallImageUrl = "/images/defaultImage.jpg">
</#if>
<#if smallImageUrl?string?has_content>
<div id="CartItemSelectedLeft">
- <img src="<@o...@ofbizContentUrl>" align="left" class="cssImgSmall" />
+ <img src="<@o...@ofbizContentUrl>" align="left" class="cssImgSmall" />
</div>
</#if>
<div id="CartItemSelectedRight">
@@ -49,7 +49,7 @@ under the License.
<#else>
<div id="CartItemSelectedRight">
<#-- this is a non-product item -->
- <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists}
+ <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!}
</#if>
<br/>
<b>${uiLabelMap.CommonQuantity}</b>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/CategoryDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/CategoryDetail.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/CategoryDetail.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/CategoryDetail.ftl Mon Aug 18 07:42:27 2014
@@ -16,21 +16,21 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#if productCategoryMembers?exists>
+<#if productCategoryMembers??>
<table>
<#assign numButton = 1/>
<#assign cell = 0/>
<tr>
<#list productCategoryMembers as productCategoryMember>
- <#assign product = productCategoryMember.getRelatedOne("Product", false)?if_exists>
- <#if product?exists && product?has_content>
- <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "SMALL_IMAGE_URL", locale, dispatcher)?if_exists />
+ <#assign product = productCategoryMember.getRelatedOne("Product", false)!>
+ <#if product?? && product?has_content>
+ <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "SMALL_IMAGE_URL", locale, dispatcher)! />
<#if !smallImageUrl?string?has_content>
<#assign smallImageUrl = "/images/defaultImage.jpg">
</#if>
- <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "PRODUCT_NAME", locale, dispatcher)?if_exists />
+ <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "PRODUCT_NAME", locale, dispatcher)! />
<#if !productName?string?has_content>
- <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "DESCRIPTION", locale, dispatcher)?if_exists />
+ <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "DESCRIPTION", locale, dispatcher)! />
</#if>
<#assign addItemLink = "javascript:addItem('" + product.productId + "', '1', 'Y');">
<td>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/SideDeepCategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/SideDeepCategory.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/SideDeepCategory.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/catalog/SideDeepCategory.ftl Mon Aug 18 07:42:27 2014
@@ -17,22 +17,22 @@ specific language governing permissions
under the License.
-->
<#-- variable setup and worker calls -->
-<#if (requestAttributes.topLevelList)?exists><#assign topLevelList = requestAttributes.topLevelList></#if>
-<#if (requestAttributes.curCategoryId)?exists><#assign curCategoryId = requestAttributes.curCategoryId></#if>
+<#if (requestAttributes.topLevelList)??><#assign topLevelList = requestAttributes.topLevelList></#if>
+<#if (requestAttributes.curCategoryId)??><#assign curCategoryId = requestAttributes.curCategoryId></#if>
<#-- looping macro -->
<#macro categoryList parentCategory category wrapInBox>
- <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?exists>
+ <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")??>
<#assign categoryName = catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")>
<#else>
- <#assign categoryName = category.categoryName?if_exists>
+ <#assign categoryName = category.categoryName!>
</#if>
- <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists>
+ <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")??>
<#assign categoryDescription = catContentWrappers[category.productCategoryId].get("DESCRIPTION")>
<#else>
- <#assign categoryDescription = category.description?if_exists>
+ <#assign categoryDescription = category.description!>
</#if>
- <#if curCategoryId?exists && curCategoryId == category.productCategoryId>
+ <#if curCategoryId?? && curCategoryId == category.productCategoryId>
<#assign browseCategoryButtonClass = "browsecategorybuttondisabled">
<#else>
<#assign browseCategoryButtonClass = "browsecategorybutton">
@@ -51,9 +51,9 @@ under the License.
</#if>
<#assign categoryUrl = "javascript:selectCategory('" + category.productCategoryId + "');"/>
<a href="${categoryUrl}" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a>
- <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
+ <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?? && curCategoryId == category.productCategoryId)>
<#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
- <#if subCatList?exists>
+ <#if subCatList??>
<#list subCatList as subCat>
<ol class="browsecategorylist">
<@categoryList parentCategory=category category=subCat wrapInBox="N"/>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Header.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Header.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Header.ftl Mon Aug 18 07:42:27 2014
@@ -21,7 +21,7 @@ under the License.
<#-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title><#if title?has_content>${title}<#elseif titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if>: ${(productStore.storeName)?if_exists}</title>
+ <title><#if title?has_content>${title}<#elseif titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if>: ${(productStore.storeName)!}</title>
<#if layoutSettings.shortcutIcon?has_content>
<link rel="shortcut icon" href="<@o...@ofbizContentUrl>" />
</#if>
@@ -38,18 +38,18 @@ under the License.
</#list>
</#if>
<#-- Append CSS for catalog -->
- <#if catalogStyleSheet?exists>
+ <#if catalogStyleSheet??>
<link rel="stylesheet" href="${catalogStyleSheet}" type="text/css"/>
</#if>
<#-- Append CSS for tracking codes -->
- <#if sessionAttributes.overrideCss?exists>
+ <#if sessionAttributes.overrideCss??>
<link rel="stylesheet" href="${sessionAttributes.overrideCss}" type="text/css"/>
</#if>
<#-- Meta tags if defined by the page action -->
- <#if metaDescription?exists>
+ <#if metaDescription??>
<meta name="description" content="${metaDescription}"/>
</#if>
- <#if metaKeywords?exists>
+ <#if metaKeywords??>
<meta name="keywords" content="${metaKeywords}"/>
</#if>
</head>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl Mon Aug 18 07:42:27 2014
@@ -19,20 +19,20 @@ under the License.
<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if>
<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if>
-<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
+<#if requestAttributes.serviceValidationException??><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
<#if !errorMessage?has_content>
- <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists>
+ <#assign errorMessage = requestAttributes._ERROR_MESSAGE_!>
</#if>
<#if !errorMessageList?has_content>
- <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists>
+ <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_!>
</#if>
<#if !eventMessage?has_content>
- <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists>
+ <#assign eventMessage = requestAttributes._EVENT_MESSAGE_!>
</#if>
<#if !eventMessageList?has_content>
- <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists>
+ <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_!>
</#if>
<#-- display the error messages -->
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl Mon Aug 18 07:42:27 2014
@@ -87,9 +87,9 @@ under the License.
<option value="12" <#if expMonth?default('') == '12'> selected="selected"</#if>>${uiLabelMap.CommonDecember}</option>
</select>
<select id="expYear" name="expYear">
- <#assign ccExprYear = requestParameters.expYear?if_exists>
+ <#assign ccExprYear = requestParameters.expYear!>
<#if ccExprYear?has_content>
- <option value="${ccExprYear?if_exists}">${ccExprYear?if_exists}</option>
+ <option value="${ccExprYear!}">${ccExprYear!}</option>
</#if>
${screens.render("component://common/widget/CommonScreens.xml#ccyears")}
</select>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/CustomerAddress.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/CustomerAddress.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/CustomerAddress.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/CustomerAddress.ftl Mon Aug 18 07:42:27 2014
@@ -34,23 +34,23 @@ under the License.
<input type="hidden" id="shippingLocation" name="shippingLocation" value="N"/>
<div id="billingAddress">
<table class="basic-table" cellspacing="0">
- <#if billingPostalAddress?exists>
- <#if personBillTo?exists>
+ <#if billingPostalAddress??>
+ <#if personBillTo??>
<tr>
<td><b><#if personBillTo.lastName?has_content>${personBillTo.lastName}</#if> <#if personBillTo.firstName?has_content>${personBillTo.firstName}</#if></b></td>
</tr>
</#if>
- <#assign state = billingPostalAddress.getRelatedOne("StateProvinceGeo", false)?if_exists/>
- <#assign country = billingPostalAddress.getRelatedOne("CountryGeo", false)?if_exists/>
+ <#assign state = billingPostalAddress.getRelatedOne("StateProvinceGeo", false)!/>
+ <#assign country = billingPostalAddress.getRelatedOne("CountryGeo", false)!/>
<tr>
<td><#if billingPostalAddress.address1?has_content>${billingPostalAddress.address1}</#if></td>
</tr>
<tr>
- <td><#if billingPostalAddress.city?has_content>${billingPostalAddress.city},</#if> <#if state?exists && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if billingPostalAddress.postalCode?has_content>${billingPostalAddress.postalCode}</#if>
+ <td><#if billingPostalAddress.city?has_content>${billingPostalAddress.city},</#if> <#if state?? && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if billingPostalAddress.postalCode?has_content>${billingPostalAddress.postalCode}</#if>
</td>
</tr>
<tr>
- <td><#if country?exists && country?has_content &&country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if>
+ <td><#if country?? && country?has_content &&country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if>
</td>
</tr>
<#else>
@@ -65,25 +65,25 @@ under the License.
</div>
<div id="shippingAddress" style="display:none">
<table class="basic-table" cellspacing="0">
- <#if shippingPostalAddress?exists>
- <#if personShipTo?exists>
+ <#if shippingPostalAddress??>
+ <#if personShipTo??>
<tr>
<td><b><#if personShipTo.lastName?has_content>${personShipTo.lastName}</#if> <#if personShipTo.firstName?has_content>${personShipTo.firstName}</#if></b></td>
</tr>
</#if>
- <#assign state = shippingPostalAddress.getRelatedOne("StateProvinceGeo", false)?if_exists/>
- <#assign country = shippingPostalAddress.getRelatedOne("CountryGeo", false)?if_exists/>
+ <#assign state = shippingPostalAddress.getRelatedOne("StateProvinceGeo", false)!/>
+ <#assign country = shippingPostalAddress.getRelatedOne("CountryGeo", false)!/>
<tr>
<td><#if shippingPostalAddress.address1?has_content>${shippingPostalAddress.address1}</#if></td>
</tr>
<tr>
- <td><#if shippingPostalAddress.city?has_content>${shippingPostalAddress.city},</#if> <#if state?exists && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if shippingPostalAddress.postalCode?has_content>${shippingPostalAddress.postalCode}</#if>
+ <td><#if shippingPostalAddress.city?has_content>${shippingPostalAddress.city},</#if> <#if state?? && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if shippingPostalAddress.postalCode?has_content>${shippingPostalAddress.postalCode}</#if>
</td>
</tr>
<tr>
<td>
<input type="hidden" id="shipToSelected" value="Y"/>
- <#if country?exists && country?has_content && country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if>
+ <#if country?? && country?has_content && country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if>
</td>
</tr>
<#else>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl Mon Aug 18 07:42:27 2014
@@ -19,7 +19,7 @@ under the License.
<form name="SearchProducts" method="post" action="<@o...@ofbizUrl>">
<div>
<input type="hidden" id="quantity" name="quantity" value="1" />
- <input type="hidden" id="add_product_id" name="add_product_id" value="${parameters.add_product_id?if_exists}" />
+ <input type="hidden" id="add_product_id" name="add_product_id" value="${parameters.add_product_id!}" />
<input type="hidden" id="goodIdentificationTypeId" name="goodIdentificationTypeId" value="" />
<label for="searchBy"><b> ${uiLabelMap.WebPosSearchBy}</b></label>
<select id="searchBy" name="searchBy">
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchSalesReps.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchSalesReps.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchSalesReps.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/webpos/webapp/webpos/search/SearchSalesReps.ftl Mon Aug 18 07:42:27 2014
@@ -18,12 +18,12 @@ under the License.
-->
<div>
<div id="SearchSalesRepsList">
- <#if salesReps?exists && salesReps?has_content>
+ <#if salesReps?? && salesReps?has_content>
<table id="salesRepsResults" name="salesRepsResults" cellspacing="0" cellpadding="2" class="basic-table">
<#assign alt_row = false>
<#list salesReps as salesRep>
<#assign salesRepInCart = false>
- <#if cartSalesReps?exists && cartSalesReps?has_content>
+ <#if cartSalesReps?? && cartSalesReps?has_content>
<#list cartSalesReps as cartSalesRep>
<#if cartSalesRep == salesRep.partyId>
<#assign salesRepInCart = true>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/appbar.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/appbar.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/appbar.ftl Mon Aug 18 07:42:27 2014
@@ -16,8 +16,8 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
-<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
+<#if (requestAttributes.externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
+<#if (externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
<#assign contextPath = request.getContextPath()>
<#assign displayApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "main")>
@@ -39,10 +39,10 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<!-- do not display this component-->
<#else>
- <li><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
+ <li><a href="${thisURL + externalKeyParam}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>
</#list>
</ul>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/header.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/header.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/header.ftl Mon Aug 18 07:42:27 2014
@@ -16,8 +16,8 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if>
-<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if>
+<#if (requestAttributes.person)??><#assign person = requestAttributes.person></#if>
+<#if (requestAttributes.partyGroup)??><#assign partyGroup = requestAttributes.partyGroup></#if>
<#assign docLangAttr = locale.toString()?replace("_", "-")>
<#assign langDir = "ltr">
<#if "ar.iw"?contains(docLangAttr?substring(0, 2))>
@@ -34,7 +34,7 @@ under the License.
<meta http-equiv="expires" content="0" />
<meta http-equiv="imagetoolbar" content="false" />
- <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title>
+ <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)!}</#if></title>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index,follow" />
@@ -78,7 +78,7 @@ under the License.
<link rel="stylesheet" href="<@o...@ofbizContentUrl>" media="screen,projection" type="text/css" charset="UTF-8"/>
</#list>
</#if>
- ${layoutSettings.extraHead?if_exists}
+ ${layoutSettings.extraHead!}
<#if layoutSettings.VT_EXTRA_HEAD?has_content>
<#list layoutSettings.VT_EXTRA_HEAD as extraHead>
${extraHead}
@@ -102,17 +102,17 @@ under the License.
<#if layoutSettings.WEB_ANALYTICS?has_content>
<script language="JavaScript" type="text/javascript">
<#list layoutSettings.WEB_ANALYTICS as webAnalyticsConfig>
- ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode?if_exists)}
+ ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode!)}
</#list>
</script>
</#if>
</head>
-<#if layoutSettings.headerImageLinkUrl?exists>
+<#if layoutSettings.headerImageLinkUrl??>
<#assign logoLinkURL = "${layoutSettings.headerImageLinkUrl}">
<#else>
<#assign logoLinkURL = "${layoutSettings.commonHeaderImageLinkUrl}">
</#if>
-<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl?if_exists}">
+<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl!}">
<body>
<div id="wrap">
<div id="wait-spinner" style="display:none">
@@ -136,26 +136,26 @@ under the License.
</span>
<span>
<#if person?has_content>
- ${uiLabelMap.CommonWelcome}, ${person.firstName?if_exists} ${person.lastName?if_exists} ( ${userLogin.userLoginId} )
+ ${uiLabelMap.CommonWelcome}, ${person.firstName!} ${person.lastName!} ( ${userLogin.userLoginId} )
<#elseif partyGroup?has_content>
- ${uiLabelMap.CommonWelcome}, ${partyGroup.groupName?if_exists} ( ${userLogin.userLoginId} )
+ ${uiLabelMap.CommonWelcome}, ${partyGroup.groupName!} ( ${userLogin.userLoginId} )
<#else>
${uiLabelMap.CommonWelcome}
</#if>
</span>
<span><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLogout}</a></span>
- <#--if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists-->
- <#if parameters.componentName?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists>
+ <#--if webSiteId?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??-->
+ <#if parameters.componentName?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??>
<#include "component://common/webcommon/includes/helplink.ftl" />
- <span><a href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId?if_exists}','help' ,500,500);">${uiLabelMap.CommonHelp}</a></span>
+ <span><a href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId!}','help' ,500,500);">${uiLabelMap.CommonHelp}</a></span>
</#if>
<#if layoutSettings.middleTopMessage1?has_content && layoutSettings.middleTopMessage1 != " ">
<span id="last-system-msg">
- <center>${layoutSettings.middleTopHeader?if_exists}</center>
- <a href="${layoutSettings.middleTopLink1?if_exists}">${layoutSettings.middleTopMessage1?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink2?if_exists}">${layoutSettings.middleTopMessage2?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink3?if_exists}">${layoutSettings.middleTopMessage3?if_exists}</a>
+ <center>${layoutSettings.middleTopHeader!}</center>
+ <a href="${layoutSettings.middleTopLink1!}">${layoutSettings.middleTopMessage1!}</a><br/>
+ <a href="${layoutSettings.middleTopLink2!}">${layoutSettings.middleTopMessage2!}</a><br/>
+ <a href="${layoutSettings.middleTopLink3!}">${layoutSettings.middleTopMessage3!}</a>
</span>
</#if>
</div>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/messages.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/messages.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/messages.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/messages.ftl Mon Aug 18 07:42:27 2014
@@ -18,20 +18,20 @@ under the License.
-->
<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if>
<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if>
-<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
+<#if requestAttributes.serviceValidationException??><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
<#if !errorMessage?has_content>
- <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists>
+ <#assign errorMessage = requestAttributes._ERROR_MESSAGE_!>
</#if>
<#if !errorMessageList?has_content>
- <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists>
+ <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_!>
</#if>
<#if !eventMessage?has_content>
- <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists>
+ <#assign eventMessage = requestAttributes._EVENT_MESSAGE_!>
</#if>
<#if !eventMessageList?has_content>
- <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists>
+ <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_!>
</#if>
<#-- display the error messages -->
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/secondary-appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/secondary-appbar.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/secondary-appbar.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bizznesstime/includes/secondary-appbar.ftl Mon Aug 18 07:42:27 2014
@@ -18,8 +18,8 @@ under the License.
-->
<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()>
-<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
-<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
+<#if (requestAttributes.externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
+<#if (externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
<#assign contextPath = request.getContextPath()>
<#assign displayApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "secondary")>
@@ -38,7 +38,7 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <li><a<#if selected> class="current-section"</#if> href="${thisURL}${StringUtil.wrapString(externalKeyParam)}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}</#if></a></li>
+ <li><a<#if selected> class="current-section"</#if> href="${thisURL}${StringUtil.wrapString(externalKeyParam)}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}"> ${display.title}</#if></a></li>
</#list>
</ul>
</#if>
\ No newline at end of file
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarClose.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarClose.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarClose.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarClose.ftl Mon Aug 18 07:42:27 2014
@@ -19,9 +19,9 @@ under the License.
</div>
</div>
<div class="breadcrumbs-sep">
- <#if titleProperty?exists>
+ <#if titleProperty??>
${uiLabelMap[titleProperty]}
- <#else>${(page.title)?if_exists}
+ <#else>${(page.title)!}
</#if>
</div>
<div class="breadcrumbs-end">
@@ -30,7 +30,7 @@ under the License.
<div class="clear">
</div>
-<#if userLogin?exists>
+<#if userLogin??>
<script type="text/javascript">
var mainmenu = new DropDownMenu(jQuery('#main-navigation'));
var appmenu = new DropDownMenu(jQuery('#app-navigation'));
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarOpen.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarOpen.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarOpen.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/appbarOpen.ftl Mon Aug 18 07:42:27 2014
@@ -16,22 +16,22 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
-<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
+<#if (requestAttributes.externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
+<#if (externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
<#assign contextPath = request.getContextPath()>
<#assign displayApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "main")>
<#assign displaySecondaryApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "secondary")>
<#assign appModelMenu = Static["org.ofbiz.widget.menu.MenuFactory"].getMenuFromLocation(applicationMenuLocation,applicationMenuName,delegator,dispatcher)>
-<#if appModelMenu.getModelMenuItemByName(headerItem)?exists>
+<#if appModelMenu.getModelMenuItemByName(headerItem)??>
<#if headerItem!="main">
<#assign show_last_menu = true>
</#if>
</#if>
<div class="tabbar">
- <div class="breadcrumbs<#if show_last_menu?exists> menu_selected</#if>">
+ <div class="breadcrumbs<#if show_last_menu??> menu_selected</#if>">
<div class="breadcrumbs-start">
<div id="main-navigation">
<h2>${uiLabelMap.CommonApplications}</h2>
@@ -50,10 +50,10 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<!-- do not display this component-->
<#else>
- <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
+ <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>
</#list>
</ul></li>
@@ -70,10 +70,10 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<!-- do not display this component-->
<#else>
- <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
+ <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>
</#list>
</ul>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/header.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/header.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/bluelight/includes/header.ftl Mon Aug 18 07:42:27 2014
@@ -16,10 +16,10 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>
+<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey!>
-<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if>
-<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if>
+<#if (requestAttributes.person)??><#assign person = requestAttributes.person></#if>
+<#if (requestAttributes.partyGroup)??><#assign partyGroup = requestAttributes.partyGroup></#if>
<#assign docLangAttr = locale.toString()?replace("_", "-")>
<#assign langDir = "ltr">
<#if "ar.iw"?contains(docLangAttr?substring(0, 2))>
@@ -28,7 +28,7 @@ under the License.
<html lang="${docLangAttr}" dir="${langDir}" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title>
+ <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)!}</#if></title>
<#if layoutSettings.shortcutIcon?has_content>
<#assign shortcutIcon = layoutSettings.shortcutIcon/>
<#elseif layoutSettings.VT_SHORTCUT_ICON?has_content>
@@ -83,30 +83,30 @@ under the License.
<#if layoutSettings.WEB_ANALYTICS?has_content>
<script language="JavaScript" type="text/javascript">
<#list layoutSettings.WEB_ANALYTICS as webAnalyticsConfig>
- ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode?if_exists)}
+ ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode!)}
</#list>
</script>
</#if>
</head>
-<#if layoutSettings.headerImageLinkUrl?exists>
+<#if layoutSettings.headerImageLinkUrl??>
<#assign logoLinkURL = "${layoutSettings.headerImageLinkUrl}">
<#else>
<#assign logoLinkURL = "${layoutSettings.commonHeaderImageLinkUrl}">
</#if>
-<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl?if_exists}">
+<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl!}">
<#if person?has_content>
- <#assign userName = person.firstName?if_exists + " " + person.middleName?if_exists + " " + person.lastName?if_exists>
+ <#assign userName = person.firstName! + " " + person.middleName! + " " + person.lastName!>
<#elseif partyGroup?has_content>
- <#assign userName = partyGroup.groupName?if_exists>
-<#elseif userLogin?exists>
+ <#assign userName = partyGroup.groupName!>
+<#elseif userLogin??>
<#assign userName = userLogin.userLoginId>
<#else>
<#assign userName = "">
</#if>
<#if defaultOrganizationPartyGroupName?has_content>
- <#assign orgName = " - " + defaultOrganizationPartyGroupName?if_exists>
+ <#assign orgName = " - " + defaultOrganizationPartyGroupName!>
<#else>
<#assign orgName = "">
</#if>
@@ -132,14 +132,14 @@ under the License.
</#if>
</#if>
<#else>
- <#if layoutSettings.headerImageUrl?exists>
+ <#if layoutSettings.headerImageUrl??>
<#assign headerImageUrl = layoutSettings.headerImageUrl>
- <#elseif layoutSettings.commonHeaderImageUrl?exists>
+ <#elseif layoutSettings.commonHeaderImageUrl??>
<#assign headerImageUrl = layoutSettings.commonHeaderImageUrl>
- <#elseif layoutSettings.VT_HDR_IMAGE_URL?exists>
+ <#elseif layoutSettings.VT_HDR_IMAGE_URL??>
<#assign headerImageUrl = layoutSettings.VT_HDR_IMAGE_URL.get(0)>
</#if>
- <#if headerImageUrl?exists>
+ <#if headerImageUrl??>
<#if organizationLogoLinkURL?has_content>
<li><a href="<@o...@ofbizUrl>"><img alt="${layoutSettings.companyName}" src="<@o...@ofbizContentUrl>"></a></li>
<#else>
@@ -149,19 +149,19 @@ under the License.
<#if layoutSettings.middleTopMessage1?has_content && layoutSettings.middleTopMessage1 != " ">
<li>
<div class="last-system-msg">
- <center>${layoutSettings.middleTopHeader?if_exists}</center>
- <a href="${layoutSettings.middleTopLink1?if_exists}">${layoutSettings.middleTopMessage1?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink2?if_exists}">${layoutSettings.middleTopMessage2?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink3?if_exists}">${layoutSettings.middleTopMessage3?if_exists}</a>
+ <center>${layoutSettings.middleTopHeader!}</center>
+ <a href="${layoutSettings.middleTopLink1!}">${layoutSettings.middleTopMessage1!}</a><br/>
+ <a href="${layoutSettings.middleTopLink2!}">${layoutSettings.middleTopMessage2!}</a><br/>
+ <a href="${layoutSettings.middleTopLink3!}">${layoutSettings.middleTopMessage3!}</a>
</div>
</li>
</#if>
</#if>
<li class="control-area">
<ul id="preferences-menu">
- <#if userLogin?exists>
- <#if userLogin.partyId?exists>
- <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}${externalKeyParam?if_exists}">${userName}</a></li>
+ <#if userLogin??>
+ <#if userLogin.partyId??>
+ <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}${externalKeyParam!}">${userName}</a></li>
<#else>
<li class="user">${userName}</li>
</#if>
@@ -170,18 +170,18 @@ under the License.
</#if>
</#if>
<li class="first"><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li>
- <#if userLogin?exists>
+ <#if userLogin??>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonVisualThemes}</a></li>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
<#else>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
</#if>
- <#--if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists-->
- <#if parameters.componentName?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists>
+ <#--if webSiteId?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??-->
+ <#if parameters.componentName?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??>
<#include "component://common/webcommon/includes/helplink.ftl" />
- <li><a class="help-link <#if pageAvail?has_content> alert</#if>" href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId?if_exists}','help' ,500,500);" title="${uiLabelMap.CommonHelp}"></a></li>
+ <li><a class="help-link <#if pageAvail?has_content> alert</#if>" href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId!}','help' ,500,500);" title="${uiLabelMap.CommonHelp}"></a></li>
</#if>
- <#if userLogin?exists>
+ <#if userLogin??>
<#if (userPreferences.COMPACT_HEADER)?default("N") == "Y">
<li class="collapsed"><a href="javascript:document.setUserPreferenceCompactHeaderN.submit()"> </a>
<form name="setUserPreferenceCompactHeaderN" method="post" action="<@o...@ofbizUrl>">
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarClose.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarClose.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarClose.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarClose.ftl Mon Aug 18 07:42:27 2014
@@ -17,7 +17,7 @@ specific language governing permissions
under the License.
-->
<#assign appModelMenu = Static["org.ofbiz.widget.menu.MenuFactory"].getMenuFromLocation(applicationMenuLocation,applicationMenuName,delegator,dispatcher)>
-<#if appModelMenu.getModelMenuItemByName(headerItem)?exists>
+<#if appModelMenu.getModelMenuItemByName(headerItem)??>
<#if headerItem!="main">
<div class="breadcrumbs-sep">
${appModelMenu.getModelMenuItemByName(headerItem).getTitle(context)}
@@ -29,7 +29,7 @@ under the License.
<div class="clear">
</div>
-<#if userLogin?exists>
+<#if userLogin??>
<script type="text/javascript">
var mainmenu = new DropDownMenu(jQuery('#main-navigation'));
var appmenu = new DropDownMenu(jQuery('#app-navigation'));
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarOpen.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarOpen.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarOpen.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/appbarOpen.ftl Mon Aug 18 07:42:27 2014
@@ -17,22 +17,22 @@ specific language governing permissions
under the License.
-->
-<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
-<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
+<#if (requestAttributes.externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
+<#if (externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
<#assign contextPath = request.getContextPath()>
<#assign displayApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "main")>
<#assign displaySecondaryApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "secondary")>
<#assign appModelMenu = Static["org.ofbiz.widget.menu.MenuFactory"].getMenuFromLocation(applicationMenuLocation,applicationMenuName,delegator,dispatcher)>
-<#if appModelMenu.getModelMenuItemByName(headerItem)?exists>
+<#if appModelMenu.getModelMenuItemByName(headerItem)??>
<#if headerItem!="main">
<#assign show_last_menu = true>
</#if>
</#if>
<div class="tabbar">
- <div class="breadcrumbs<#if show_last_menu?exists> menu_selected</#if>">
+ <div class="breadcrumbs<#if show_last_menu??> menu_selected</#if>">
<div id="main-navigation">
<h2>${uiLabelMap.CommonApplications}</h2>
<ul>
@@ -50,10 +50,10 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<!-- do not display this component-->
<#else>
- <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
+ <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>
</#list>
</ul></li>
@@ -70,10 +70,10 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<!-- do not display this component-->
<#else>
- <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
+ <li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>
</#list>
</ul>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/header.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/header.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/droppingcrumbs/includes/header.ftl Mon Aug 18 07:42:27 2014
@@ -16,10 +16,10 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey?if_exists>
+<#assign externalKeyParam = "&externalLoginKey=" + requestAttributes.externalLoginKey!>
-<#if (requestAttributes.person)?exists><#assign person = requestAttributes.person></#if>
-<#if (requestAttributes.partyGroup)?exists><#assign partyGroup = requestAttributes.partyGroup></#if>
+<#if (requestAttributes.person)??><#assign person = requestAttributes.person></#if>
+<#if (requestAttributes.partyGroup)??><#assign partyGroup = requestAttributes.partyGroup></#if>
<#assign docLangAttr = locale.toString()?replace("_", "-")>
<#assign langDir = "ltr">
<#if "ar.iw"?contains(docLangAttr?substring(0, 2))>
@@ -28,7 +28,7 @@ under the License.
<html lang="${docLangAttr}" dir="${langDir}" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)?if_exists}</#if></title>
+ <title>${layoutSettings.companyName}: <#if (page.titleProperty)?has_content>${uiLabelMap[page.titleProperty]}<#else>${(page.title)!}</#if></title>
<#if layoutSettings.shortcutIcon?has_content>
<#assign shortcutIcon = layoutSettings.shortcutIcon/>
<#elseif layoutSettings.VT_SHORTCUT_ICON?has_content>
@@ -83,30 +83,30 @@ under the License.
<#if layoutSettings.WEB_ANALYTICS?has_content>
<script language="JavaScript" type="text/javascript">
<#list layoutSettings.WEB_ANALYTICS as webAnalyticsConfig>
- ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode?if_exists)}
+ ${StringUtil.wrapString(webAnalyticsConfig.webAnalyticsCode!)}
</#list>
</script>
</#if>
</head>
-<#if layoutSettings.headerImageLinkUrl?exists>
+<#if layoutSettings.headerImageLinkUrl??>
<#assign logoLinkURL = "${layoutSettings.headerImageLinkUrl}">
<#else>
<#assign logoLinkURL = "${layoutSettings.commonHeaderImageLinkUrl}">
</#if>
-<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl?if_exists}">
+<#assign organizationLogoLinkURL = "${layoutSettings.organizationLogoLinkUrl!}">
<#if person?has_content>
- <#assign userName = person.firstName?if_exists + " " + person.middleName?if_exists + " " + person.lastName?if_exists>
+ <#assign userName = person.firstName! + " " + person.middleName! + " " + person.lastName!>
<#elseif partyGroup?has_content>
- <#assign userName = partyGroup.groupName?if_exists>
-<#elseif userLogin?exists>
+ <#assign userName = partyGroup.groupName!>
+<#elseif userLogin??>
<#assign userName = userLogin.userLoginId>
<#else>
<#assign userName = "">
</#if>
<#if defaultOrganizationPartyGroupName?has_content>
- <#assign orgName = " - " + defaultOrganizationPartyGroupName?if_exists>
+ <#assign orgName = " - " + defaultOrganizationPartyGroupName!>
<#else>
<#assign orgName = "">
</#if>
@@ -135,14 +135,14 @@ under the License.
</#if>
</li>
<#else>
- <#if layoutSettings.headerImageUrl?exists>
+ <#if layoutSettings.headerImageUrl??>
<#assign headerImageUrl = layoutSettings.headerImageUrl>
- <#elseif layoutSettings.commonHeaderImageUrl?exists>
+ <#elseif layoutSettings.commonHeaderImageUrl??>
<#assign headerImageUrl = layoutSettings.commonHeaderImageUrl>
- <#elseif layoutSettings.VT_HDR_IMAGE_URL?exists>
+ <#elseif layoutSettings.VT_HDR_IMAGE_URL??>
<#assign headerImageUrl = layoutSettings.VT_HDR_IMAGE_URL.get(0)>
</#if>
- <#if headerImageUrl?exists>
+ <#if headerImageUrl??>
<#if organizationLogoLinkURL?has_content>
<li id="org-logo-area"><a href="<@o...@ofbizUrl>"><img alt="${layoutSettings.companyName}" src="<@o...@ofbizContentUrl>"></a></li>
<#else>
@@ -152,10 +152,10 @@ under the License.
<#if layoutSettings.middleTopMessage1?has_content && layoutSettings.middleTopMessage1 != " ">
<li>
<div class="last-system-msg">
- <center>${layoutSettings.middleTopHeader?if_exists}</center>
- <a href="${layoutSettings.middleTopLink1?if_exists}">${layoutSettings.middleTopMessage1?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink2?if_exists}">${layoutSettings.middleTopMessage2?if_exists}</a><br/>
- <a href="${layoutSettings.middleTopLink3?if_exists}">${layoutSettings.middleTopMessage3?if_exists}</a>
+ <center>${layoutSettings.middleTopHeader!}</center>
+ <a href="${layoutSettings.middleTopLink1!}">${layoutSettings.middleTopMessage1!}</a><br/>
+ <a href="${layoutSettings.middleTopLink2!}">${layoutSettings.middleTopMessage2!}</a><br/>
+ <a href="${layoutSettings.middleTopLink3!}">${layoutSettings.middleTopMessage3!}</a>
</div>
</li>
</#if>
@@ -163,18 +163,18 @@ under the License.
<li class="control-area">
<ul id="preferences-menu">
<li class="first"><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLanguageTitle} : ${locale.getDisplayName(locale)}</a></li>
- <#if userLogin?exists>
+ <#if userLogin??>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonVisualThemes}</a></li>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
<#else>
<li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>
</#if>
- <#--if webSiteId?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists-->
- <#if parameters.componentName?exists && requestAttributes._CURRENT_VIEW_?exists && helpTopic?exists>
+ <#--if webSiteId?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??-->
+ <#if parameters.componentName?? && requestAttributes._CURRENT_VIEW_?? && helpTopic??>
<#include "component://common/webcommon/includes/helplink.ftl" />
- <li><a class="help-link <#if pageAvail?has_content> alert</#if>" href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId?if_exists}','help' ,500,500);" title="${uiLabelMap.CommonHelp}"></a></li>
+ <li><a class="help-link <#if pageAvail?has_content> alert</#if>" href="javascript:lookup_popup1('showHelp?helpTopic=${helpTopic}&portalPageId=${parameters.portalPageId!}','help' ,500,500);" title="${uiLabelMap.CommonHelp}"></a></li>
</#if>
- <#if userLogin?exists>
+ <#if userLogin??>
<#if (userPreferences.COMPACT_HEADER)?default("N") == "Y">
<li class="collapsed"><a href="javascript:document.setUserPreferenceCompactHeaderN.submit()"> </a>
<form name="setUserPreferenceCompactHeaderN" method="post" action="<@o...@ofbizUrl>">
@@ -193,9 +193,9 @@ under the License.
</li>
</#if>
</#if>
- <#if userLogin?exists>
- <#if userLogin.partyId?exists>
- <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}${externalKeyParam?if_exists}">${userName}</a></li>
+ <#if userLogin??>
+ <#if userLogin.partyId??>
+ <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}${externalKeyParam!}">${userName}</a></li>
<#else>
<li class="user">${userName}</li>
</#if>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/flatgrey/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/flatgrey/includes/appbar.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/flatgrey/includes/appbar.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/themes/flatgrey/includes/appbar.ftl Mon Aug 18 07:42:27 2014
@@ -17,8 +17,8 @@ specific language governing permissions
under the License.
-->
-<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
-<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if>
+<#if (requestAttributes.externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
+<#if (externalLoginKey)??><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey!></#if>
<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")>
<#assign contextPath = request.getContextPath()>
<#assign displayApps = Static["org.ofbiz.webapp.control.LoginWorker"].getAppBarWebInfos(security, userLogin, ofbizServerName, "main")>
@@ -40,7 +40,7 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = thisURL + "main">
</#if>
- <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <#if layoutSettings.suppressTab?? && display.name == layoutSettings.suppressTab>
<#-- do not display this component-->
<#else>
<#if appCount % 4 == 0>
@@ -52,7 +52,7 @@ under the License.
<li>
</#if>
</#if>
- <a href="${thisURL}${StringUtil.wrapString(externalKeyParam)}"<#if selected> class="selected"</#if><#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a>
+ <a href="${thisURL}${StringUtil.wrapString(externalKeyParam)}"<#if selected> class="selected"</#if><#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a>
<#assign appCount = appCount + 1>
</#if>
</#list>
@@ -76,7 +76,7 @@ under the License.
<li>
</#if>
</#if>
- <a href="${thisURL}${StringUtil.wrapString(externalKeyParam)}"<#if selected> class="selected"</#if><#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a>
+ <a href="${thisURL}${StringUtil.wrapString(externalKeyParam)}"<#if selected> class="selected"</#if><#if uiLabelMap??> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a>
<#assign appCount = appCount + 1>
</#list>
<#if appCount != 0>