{{if $sortable}} {{endif}} {{foreach $headers as $header}} {lang="{$langPrefix}{$header}"} {{if array_key_exists( $header, $checkAlls )}}
{{endif}} {{endforeach}} {{if $manageable}} {{endif}} {lang="matrix_no_rows"} {{foreach $rows as $rowId => $row}} {{if \is_string( $row )}} {$row|raw} {{else}} type && \IPS\Request::i()->type == $rowId}}class='ipsMatrix_highlighted'{{endif}}> {{if $sortable}}
{{endif}} {{foreach $headers as $header}} {{if \is_object( $row[ $header ] )}} {$row[ $header ]->html()|raw} {{if $row[$header]->error}}

{lang="$row[$header]->error"}

{{endif}} {{elseif \is_string( $row[ $header ] )}}
{{if $styledRowTitle}} {$row[ $header ]|raw} {{else}} {{if $langPrefix === FALSE}}{$row[ $header ]|raw}{{else}}{lang="$row[ $header ]"}{{endif}} {{endif}} {{if $checkAllRows}}
{{endif}}
{{endif}} {{endforeach}} {{if $manageable}} {{if mb_substr( $rowId, 0, 5 ) !== '_new_'}} {template="controlStrip" app="core" group="global" params="array( 'add' => array( 'icon' => 'times-circle', 'title' => 'delete', 'class' => 'matrixDelete' ) )"} {{endif}} {{endif}} {{endif}} {{endforeach}}