ACC SHELL

Path : /srv/www/vhosts/alfa-com/templates/
File Upload :
Current File : //srv/www/vhosts/alfa-com/templates/_reference.tpl

{** BLOCK detail **}
	{ax object=$G.result.object}
	{$View::common('images', $object)}
{** BLOCK list-item **}
	{a url='get-url'|l:$this->group}{a url=#lpath#|cat:$url}
	<a class="title" href="{$url}{$object->url|h}">{$object->title|h}</a>
{** BLOCK list **}
	{$View::common('pages', $G.result.pager, 'top')}
	{foreach item=object from=$G.result.objects.list}
		{template __file='::list-item' object=$object}
	{/foreach}
	{$View::common('pages', $G.result.pager, 'bottom')}
{** BLOCK @get **}
	{a result=$G.invocation->dispatch()}
	{$View::title()}
	{$View::common('messages-output')}

	{if ($G.result.object->g)}
		{template __file='::list'}
	{else}
		{template __file='::detail'}
	{/if}
{** ENDBLOCK **}

ACC SHELL 2018