{if $item->actionToolbar} {include file=$item->getTemplate('list-actionToolbar.tpl') position="top"} {/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'; } if ($this->_tpl_vars['row']['status'] == App_ECommerce_Order_Admin_Obj::STATUS_ORDER_CLOSED) { $attribs['class'] = isset($attribs['class']) ? ($attribs['class'] . ' disabled') : 'disabled'; } $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}