';
unset($revisionData[0]);
foreach (array_reverse($revisionData) as $id => $changeData) {
$changelogHTML .= '
';
switch ($changeData['type']) {
case 'ADD':
$changelogHTML .= '
Added';
break;
case 'REM':
$changelogHTML .= '
Removed';
break;
case 'FIX':
$changelogHTML .= '
Fixed';
break;
case 'UPD':
$changelogHTML .= '
Updated';
break;
default:
$changelogHTML .= '
Unknown';
}
$changelogHTML .= '
';
$changelogHTML .= $changeData['change'];
$changelogHTML .= '';
$changelogHTML .= '
';
$changelogHTML .= $changeData['user'];
$changelogHTML .= '';
$changelogHTML .= '