{if $item->actionToolbar} {include file="ViewController/list-actionToolbar.tpl"|SMGetTemplate} {/if} {assign var="sessionId" value=""} attribs|@html_render_attribs}> {include file = $item->getTemplate('list-cols.tpl') columns = $item->columns} {foreach from = $item->list item = row name = 'row'} {if $item->groupBySession} {if $sessionId != $row.sessionId} {assign var="sessionId" value=$row.sessionId} {/if} {/if} {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}
session {if 'y' == $row.sessionClosed}closed{else}opened{/if} Session: {$row.sessionTitle|htmlspecialchars}
{if $item->paginator} {include file="ViewController/list-paginator.tpl"|SMGetTemplate paginator = $item->paginator} {/if}