Add checkbox type to event performance

This commit is contained in:
Brian Miyaji
2019-07-08 12:35:48 +10:00
parent 5360941136
commit 0167caffb9
10 changed files with 21 additions and 4 deletions

View File

@@ -163,7 +163,11 @@ $i = 0;
endif;
else:
if ( array_key_exists( $key, $row ) && $row[ $key ] != '' ):
$value = $row[ $key ];
if ( 'checkbox' === $format ):
$value = '<span class="sp-checkbox">' . $row[ $key ] . '</span>';
else:
$value = $row[ $key ];
endif;
else:
$value = $placeholder;
endif;