blob: c95bbf9697bb66f0585f6d0d1915f700f695cd27 (
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 and ( $serviceLocation == 'nav' or $serviceLocation == 'view' )}
<div class="services-{$serviceLocation}">
{/if}
{foreach from=$serviceLocTpls key=serviceName item=template}
{include file=$template serviceHash=$serviceHash}
{/foreach}
{if $serviceLocTpls and ( $serviceLocation == 'nav' or $serviceLocation == 'view' )}
</div>
{/if}
{/if}
{/if}
{/strip}
|