Index: typo3/mod/tools/em/class.em_index.php =================================================================== --- typo3/mod/tools/em/class.em_index.php (revision 6623) +++ typo3/mod/tools/em/class.em_index.php (working copy) @@ -4971,17 +4971,17 @@ if(!isset($instExtInfo[$depK])) { $msg[] = '
' . sprintf($GLOBALS['LANG']->getLL('checkDependencies_ext_not_available'), $depK); - $msg[] = '      - ' . $GLOBALS['LANG']->getLL('checkDependencies_import_now') . ''; + ' . $GLOBALS['LANG']->getLL('checkDependencies_import_now') . ''; $msg[] = '     '; } else { $msg[] = '
' . sprintf($GLOBALS['LANG']->getLL('checkDependencies_ext_not_installed'), $depK, $instExtInfo[$depK]['EM_CONF']['title']); - $msg[] = '    ' . $this->installButton() . '  - ' . $GLOBALS['LANG']->getLL('checkDependencies_install_now') . ''; + $msg[] = '    ' . $this->installButton() . '  + ' . $GLOBALS['LANG']->getLL('checkDependencies_install_now') . ''; $msg[] = '     '; } @@ -5007,10 +5007,13 @@ } } if($depError || $depIgnore) { - $content .= $this->doc->section( + $flashMessage = t3lib_div::makeInstance( + 't3lib_FlashMessage', $GLOBALS['LANG']->getLL('removeExtFromList_dependency_error'), - implode('
', $msg), 0, 1, 2 + '', + t3lib_FlashMessage::ERROR ); + $content .= '

' . $flashMessage->render() . implode('
', $msg); } // Check conflicts with other extensions: @@ -5037,9 +5040,9 @@ } $msg[] = sprintf($GLOBALS['LANG']->getLL('checkDependencies_conflict_remove'), $extKey, $conflictK, $instExtInfo[$conflictK]['EM_CONF']['title'], $conflictK, $extKey); - $msg[] = '    ' . $this->removeButton() . '  - ' . $GLOBALS['LANG']->getLL('checkDependencies_remove_now') . ''; + $msg[] = '    ' . $this->removeButton() . '  + ' . $GLOBALS['LANG']->getLL('checkDependencies_remove_now') . ''; $msg[] = '     '; $conflictError = true; @@ -5069,17 +5072,17 @@ if (!isset($instExtInfo[$suggestK])) { $msg[] = sprintf($GLOBALS['LANG']->getLL('checkDependencies_suggest_import'), $suggestK); - $msg[] = '      - ' . $GLOBALS['LANG']->getLL('checkDependencies_import_now') . ''; + ' . $GLOBALS['LANG']->getLL('checkDependencies_import_now') . ''; $msg[] = '     '; } else { $msg[] = sprintf($GLOBALS['LANG']->getLL('checkDependencies_suggest_installation'), $suggestK, $instExtInfo[$suggestK]['EM_CONF']['title']); - $msg[] = '    ' . $this->installButton() . '  - ' . $GLOBALS['LANG']->getLL('checkDependencies_install_now') . ''; + $msg[] = '    ' . $this->installButton() . '  + ' . $GLOBALS['LANG']->getLL('checkDependencies_install_now') . ''; $msg[] = '     '; } @@ -5087,10 +5090,13 @@ } } if($suggestion || $suggestionIgnore) { - $content .= $this->doc->section( + $flashMessage = t3lib_div::makeInstance( + 't3lib_FlashMessage', sprintf($GLOBALS['LANG']->getLL('checkDependencies_exts_suggested_by_ext'), $extKey), - implode('
', $msg), 0, 1, 1 + '', + t3lib_FlashMessage::NOTICE ); + $content .= '

' . $flashMessage->render() . implode('
', $msg); } }