/* **************************************************************
* Copyright notice
*
-* (c) 2006-2008 Karsten Dambekalns <karsten@typo3.org>
+* (c) 2006-2009 Karsten Dambekalns <karsten@typo3.org>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
}
-
+
/**
* Reduces the entries in $this->extensionsXML to the latest version per extension and removes entries not matching the search parameter
* The extension key has to be a valid one as search is done for exact matches only.
gzclose($fp);
if(!$error) {
- $content.= '<p>The extensions list has been updated and now contains '.$extcount.' extension entries.</p>';
+ $flashMessage = t3lib_div::makeInstance(
+ 't3lib_FlashMessage',
+ sprintf($GLOBALS['LANG']->getLL('ext_import_extlist_updated'), $extcount),
+ $GLOBALS['LANG']->getLL('ext_import_extlist_updated_header')
+ );
+ $content .= $flashMessage->render();
}
return $content;