<div style="white-space:nowrap">File path: <?php echo $str->forHTML($log->nicerRelativePath($data['relative_path']))?></div>
<div style="white-space:nowrap">Metadata file type: <?php 
	if ($data['details']['file_type']['name']) {
		$type = $data['details']['file_type']['name'];
	} else {
		$type = "- No Special Type -";
	}
	echo $str->forHTML($type);
?></div>
<?php 
if (is_array($data['details']['metadata'])) {
?>
<div style="overflow-x:auto">Metadata: 
	<table class="niceborder" border="0" cellspacing="1" cellpadding="2">
	<tr class="header">
		<td>&nbsp;</td>
		<td>Field</td>
		<td>Old value</td>
		<td>New value</td>
	</tr>
	<?php
	foreach ($data['details']['metadata'] as $record) {
	?>
		<tr>
			<td><?php echo $str->forHTML($record['fieldInfo']['id']);?></td>
			<td><?php echo $str->forHTML($record['fieldInfo']['name']);?></td>
			<td><?php echo $str->forHTML($record['oldValue']);?></td>
			<td><?php echo $str->forHTML($record['newValue']);?></td>
		</tr>
	<?php
	}
	?>
	</table>
</div>
<?php
}
?>