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