Fixed bug #12631: Flash Message to the history / changelog (Thanks to Georg Ringer)
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 9 Jan 2010 16:02:32 +0000 (16:02 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 9 Jan 2010 16:02:32 +0000 (16:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6742 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.show_rechis.inc

index f7ad8ca..f4612cd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-01-09  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #12631: Flash Message to the history / changelog (Thanks to Georg Ringer)
        * Fixed bug #12928: SQL error in translationCount() if table does not provide deleted field (Thanks to Georg Ringer)
        * Fixed bug #12507: (Un)Install icon points to wrong extension in Opera (Thanks to Steffen Gebert)
 
index bfb287f..5df1b00 100644 (file)
@@ -463,8 +463,16 @@ class recordHistory {
                if ($this->lastSyslogId)        {
                        $theCode .= '<br />' .  $this->linkPage('<img'.t3lib_iconWorks::skinImg('','gfx/group_tobottom.gif').' alt="'.$LANG->getLL('fullView',1).'" title="'.$LANG->getLL('fullView',1).'" />',array('diff' => ''));
                }
+
                        // Add message about the difference view.
-               $theCode .= '<br /><img'.t3lib_iconWorks::skinImg('','gfx/icon_note.gif','width="18" height="16"').' align="top" alt="" />'.$LANG->getLL('differenceMsg').'<br /><br />';
+               $flashMessage = t3lib_div::makeInstance(
+                       't3lib_FlashMessage',
+                       $GLOBALS['LANG']->getLL('differenceMsg'),
+                       '',
+                       t3lib_FlashMessage::INFO
+               );
+
+               $theCode .= '<br /><br />' . $flashMessage->render() . '<br />';
 
                        // Add CSH:
                $theCode .= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'history_'.($this->sumUp ? 'sum' : 'log'), $GLOBALS['BACK_PATH'],'');