| <#-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <#assign contentRootId = "WebStoreCONTENT"/> |
| |
| <#-- variable setup and worker calls --> |
| <#assign curCategoryId = requestAttributes.curCategoryId!> |
| <#assign forumTrailCsv=requestParameters.forumTrailCsv!/> |
| <#assign forumTrail=[]/> |
| <#assign firstContentId=""/> |
| <#if forumTrailCsv?has_content> |
| <#assign forumTrail=Static["org.ofbiz.base.util.StringUtil"].split(forumTrailCsv, ",") /> |
| <#if 0 < forumTrail?size> |
| <#assign firstContentId=forumTrail[0]?string/> |
| </#if> |
| </#if> |
| |
| <div id="content_catagories" class="screenlet"> |
| <div class="screenlet-title-bar"> |
| <ul> |
| <li class="h3">${uiLabelMap.ProductBrowseContent}</li> |
| </ul> |
| <br class="clear"/> |
| </div> |
| <div class="screenlet-body"> |
| <ul class="browsecategorylist"> |
| <#assign count_1=0/> |
| <@loopSubContent contentId=contentRootId viewIndex=0 viewSize=9999 orderBy="contentName"> |
| <li class="browsecategorytext"> |
| <a href="<@ofbizUrl>showcontenttree?contentId=${subContentId}&nodeTrailCsv=${subContentId}</@ofbizUrl>" class="browsecategorybutton">${content.contentName}</a> |
| </li> |
| <#assign count_1=(count_1 + 1)/> |
| </@loopSubContent> |
| </ul> |
| </div> |
| </div> |