Author: hansbak
Date: Sun Mar 28 04:41:16 2010
New Revision: 928339
URL: http://svn.apache.org/viewvc?rev=928339&view=rev
Log:
tomahawk theme: portal page tags should only show when logged in
Modified:
ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
Modified: ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl?rev=928339&r1=928338&r2=928339&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl (original)
+++ ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl Sun Mar 28 04:41:16
2010
@@ -40,7 +40,7 @@ under the License.
</#if>
</#if>
-<#if parameters.portalPageId?exists &&
!appModelMenu.getModelMenuItemByName(headerItem)?exists>
+<#if parameters.portalPageId?exists &&
!appModelMenu.getModelMenuItemByName(headerItem)?exists && userLogin?exists>
<#assign findMap =
Static["org.ofbiz.base.util.UtilMisc"].toMap("portalPageId",
parameters.portalPageId)>
<#assign portalPage = delegator.findByPrimaryKeyCache("PortalPage",
findMap)>
<#if portalPage?exists>