{if $item->actionToolbar} {include file="ViewController/list-actionToolbar.tpl"|SMGetTemplate} {/if} attribs|@html_render_attribs}> {include file = $item->getTemplate('list-cols.tpl') columns = $item->columns} {foreach from = $item->list item = row name = 'row'} {php} $attribs = array(); if ($this->_foreach['row']['iteration']%2 == 1) { $attribs['class'] = 'odd'; } $this->assign('attribs', $attribs); {/php} {include file=$item->getTemplate('row.tpl') attribs = $attribs} {foreachelse} {include file=$item->getTemplate('row-empty-list.tpl') attribs = $attribs} {/foreach}
{if $item->paginator} {include file="ViewController/list-paginator.tpl"|SMGetTemplate paginator = $item->paginator} {/if}