summaryrefslogtreecommitdiff
path: root/templates/services_inc.tpl
blob: 6cf6d0e9547bd9a450cc1586bd5590190b66ceb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{strip}
{assign var=serviceLocTpls value=$gLibertySystem->getServiceValues("content_`$serviceLocation`_tpl")}
{capture assign=liberty_service_content}{strip}
	{foreach from=$serviceLocTpls key=serviceName item=template}
		{include file=$template serviceHash=$serviceHash}
	{/foreach}
{/strip}{/capture}
{if !empty($liberty_service_content)}
	{if $serviceLocTpls and ( $serviceLocation == 'nav' or $serviceLocation == 'view' )}
		<div class="services-{$serviceLocation}">
	{/if}
	{$liberty_service_content}
	{if $serviceLocTpls and ( $serviceLocation == 'nav' or $serviceLocation == 'view' )}
		</div>
	{/if}
{/if}
{/strip}