<br> tags removed

This commit is contained in:
duergner 2004-09-08 14:39:47 +00:00
parent 2f12aba6d3
commit fe4947e491
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl
$MessageHeadline = "<h2 " . $class . ">" . $MessageHeadline . "</h2>"; // Format $MessageHeadline $MessageHeadline = "<h2 " . $class . ">" . $MessageHeadline . "</h2>"; // Format $MessageHeadline
$MessageText = "<p " . $class . ">" . $MessageText . "</p>"; // Format $MessageText $MessageText = "<p " . $class . ">" . $MessageText . "</p>"; // Format $MessageText
$format = "<div " . $class . ">\n<br>\n<table>\n<tr>\n<td>" . $MessageTyp . "</td>\n<td>" . $MessageHeadline . $MessageText . "</td>\n</tr>\n</table>\n<br>\n</div>\n"; $format = "<div " . $class . ">\n<table>\n<tr>\n<td>" . $MessageTyp . "</td>\n<td>" . $MessageHeadline . $MessageText . "</td>\n</tr>\n</table>\n</div>\n";
if (is_array($MessageVariables)) { if (is_array($MessageVariables)) {
array_unshift($MessageVariables, $format); array_unshift($MessageVariables, $format);
call_user_func_array('printf',$MessageVariables); call_user_func_array('printf',$MessageVariables);