Index: typo3/sysext/tstemplate/ts/index.php =================================================================== --- typo3/sysext/tstemplate/ts/index.php (Revision 7806) +++ typo3/sysext/tstemplate/ts/index.php (Arbeitskopie) @@ -375,9 +375,16 @@ // No template $theOutput .= $this->doc->spacer(10); - $theOutput .= $this->doc->section('' . $GLOBALS['LANG']->getLL('noTemplate') . '', $GLOBALS['LANG']->getLL('noTemplateDescription') . '
- ' . $GLOBALS['LANG']->getLL('createTemplate'), 0, 0, 0, 1); - + + $flashMessage = t3lib_div::makeInstance( + 't3lib_FlashMessage', + $GLOBALS['LANG']->getLL('noTemplateDescription') . '
' . $GLOBALS['LANG']->getLL('createTemplate'), + $GLOBALS['LANG']->getLL('noTemplate'), + t3lib_FlashMessage::INFO + ); + $theOutput .= $flashMessage->render(); + + // New standard? if ($newStandardTemplate) { if (t3lib_extMgm::isLoaded('statictemplates')) { // check wether statictemplates are supported @@ -388,7 +395,7 @@ $opt .= ''; } } - $selector = ''; + $selector = '
'; $staticsText = ', optionally based on one of the standard templates'; } else { $selector = ''; @@ -397,9 +404,8 @@ // Extension? $theOutput .= $this->doc->spacer(10); - $theOutput .= $this->doc->section($GLOBALS['LANG']->getLL('newWebsite') . $staticsText, $GLOBALS['LANG']->getLL('newWebsiteDescription') . '
-
' . - $selector . '
' . + $theOutput .= $this->doc->section($GLOBALS['LANG']->getLL('newWebsite') . $staticsText, $GLOBALS['LANG']->getLL('newWebsiteDescription') . '

' . + $selector . t3lib_iconWorks::getSpriteIcon('status-dialog-warning') . '', 0, 1); }