";
if (is_array($msgList))
{
$buffer .= "\n
";
foreach ($msgList as $type => $msgs)
{
if (count($msgs))
{
$buffer .= "\n- " . JText::_($type) . "
";
$buffer .= "\n- ";
$buffer .= "\n\t
";
foreach ($msgs as $msg)
{
$buffer .= "\n\t\t- " . $msg . "
";
}
$buffer .= "\n\t
";
$buffer .= "\n ";
}
$buffer .= "\n
";
}
$buffer .= "\n";
return $buffer;
}
}