Index: typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php
===================================================================
--- typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (revision 8165)
+++ typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (working copy)
@@ -465,7 +465,14 @@
$errMsg[]=($inf[1]).": ".$inf[0];
}
$theOutput .= $this->pObj->doc->spacer(10);
- $theOutput .= $this->pObj->doc->section($GLOBALS['TBE_TEMPLATE']->rfw($GLOBALS['LANG']->getLL('errorsWarnings')), implode($errMsg, "
"), 0, 1, 0, 1);
+
+ $flashMessage = t3lib_div::makeInstance(
+ 't3lib_FlashMessage',
+ implode($errMsg, '
'),
+ $GLOBALS['LANG']->getLL('errorsWarnings'),
+ t3lib_FlashMessage::ERROR
+ );
+ $theOutput .= $flashMessage->render();
}