Bug #22734 » bug_14503_v2.patch
t3lib/class.t3lib_bedisplaylog.php (Arbeitskopie) | ||
---|---|---|
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,fieldlist', 'sys_history', 'sys_log_uid='.intval($sys_log_uid));
|
||
$newRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
|
||
if (is_array($newRow)) {
|
||
$showHistoryIconParams = array(
|
||
'title' => $GLOBALS['LANG']->getLL('showHistory')
|
||
);
|
||
$text .= ' ' . sprintf($GLOBALS['LANG']->getLL('changesInFields'), '<em>' . $newRow['fieldlist'] . '</em>');
|
||
$text .= ' <a href="' . htmlspecialchars($GLOBALS['BACK_PATH'] . 'show_rechis.php?sh_uid=' . $newRow['uid'] .
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-history-open') .
|
||
' title="' . $GLOBALS['LANG']->getLL('showHistory') . '" alt="" />' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-history-open', $showHistoryIconParams) .
|
||
'</a>';
|
||
}
|
||