// should only be one chunk for binary diffs. $chunk = current($this->diffResult->getChunks()); $leftMeta = $this->leftRecord->getFieldMetadata($this->fieldName); $rightMeta = $this->rightRecord->getFieldMetadata($this->fieldName); ?>
$params = array(
'field' => $this->fieldName,
'version' => $this->leftFile->getStatus('headRev'),
);
$alt = isset($leftMeta['filename'])
? 'alt="' . htmlentities($leftMeta['filename']) . '"'
: null;
print '
|
$params = array(
'field' => $this->fieldName,
'version' => $this->rightFile->getStatus('headRev'),
);
$alt = isset($rightMeta['filename'])
? 'alt="' . htmlentities($rightMeta['filename']) . '"'
: null;
print '
|