Project

General

Profile

Feature #7098 » fluid_flashmessages.diff

Dennis Ahrens, 2010-06-18 17:05

View differences:

Classes/ViewHelpers/FlashMessagesViewHelper.php (working copy)
if (count($flashMessages) > 0) {
$tagContent = '';
foreach ($flashMessages as $singleFlashMessage) {
$tagContent .= '<li>' . htmlspecialchars($singleFlashMessage) . '</li>';
$tagContent .= '<li>' . htmlspecialchars($singleFlashMessage->getMessage()) . '</li>';
}
$this->tag->setContent($tagContent);
return $this->tag->render();
(2-2/6)