83 if (!empty($entry[
'action'])) {
84 $differences = $entry[
'action'];
89 $avatar = GeneralUtility::makeInstance(Avatar::class);
94 'user' => htmlspecialchars($this->
getUserName($entry[
'userid'])),
95 'user_avatar' => $avatar->render($beUserRecord),
96 'differences' => $differences
110 $tableName = $entry[
'tablename'];
111 if (is_array($entry[
'newRecord'])) {
112 $fields = array_keys($entry[
'newRecord']);
114 if (!empty(
$GLOBALS[
'TCA'][$tableName][
'columns'][$field][
'config'][
'type']) &&
$GLOBALS[
'TCA'][$tableName][
'columns'][$field][
'config'][
'type'] !==
'passthrough') {
120 if (!empty($fieldDifferences)) {
123 'html' => nl2br(trim($fieldDifferences)),
140 $userName =
'unknown';
141 if (!empty($this->backendUserNames[$user][
'username'])) {
142 $userName = $this->backendUserNames[$user][
'username'];
156 if (!isset($this->historyEntries[$table][$id])) {
157 $historyObject = GeneralUtility::makeInstance(RecordHistory::class);
158 $this->historyEntries[$table][$id] = $historyObject->getHistoryDataForRecord($table, $id);
160 return $this->historyEntries[$table][$id];
170 if (!isset($this->differencesObject)) {
171 $this->differencesObject = GeneralUtility::makeInstance(DiffUtility::class);
172 $this->differencesObject->stripTags =
false;