removed obsolete code

This commit is contained in:
Roland Gruber 2004-02-28 11:41:52 +00:00
parent dcb1dacf0e
commit d2ff0e4c2f
1 changed files with 0 additions and 5 deletions

View File

@ -55,12 +55,7 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl
$MessageHeadline = "<h2 " . $class . ">" . $MessageHeadline . "</h2>"; // Format $MessageHeadline
$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";
for($i=0;$i<count($MessageVariables);$i++) {
$variables .= "," . $MessageVariables[$i];
}
$command = 'printf("' . addslashes($format) . '"' . $variables . ');';
call_user_func_array('printf',array($format,$MessageVariables));
//eval($command);
}
/* Use the three replace functions on the submitted Text. */