{php} if (isset($this->_tpl_vars['row']['status'])) { $statusClass = 'report-' . $this->_tpl_vars['row']['status']; if (empty($this->_tpl_vars['attribs']['class'])) { $this->_tpl_vars['attribs']['class'] = $statusClass; } else { $this->_tpl_vars['attribs']['class'] = $statusClass; } } {/php}