Update log_viewer.php
This commit is contained in:
parent
60ea942e1a
commit
b21703eb9f
|
|
@ -250,7 +250,7 @@
|
|||
//color adjustments on words in log line
|
||||
for ($i=2; $i<=$MAXEL; $i++) {
|
||||
if (isset($v1["pattern".$i])) {
|
||||
$log_line = str_replace($v1["pattern".$i], "<span style='color: ".$v1["color".$i].";'>".$v1["pattern".$i]."</span>", $log_line);
|
||||
$log_line = str_replace(escape($v1["pattern".$i]), "<span style='color: ".$v1["color".$i].";'>".$v1["pattern".$i]."</span>", $log_line);
|
||||
}
|
||||
}
|
||||
$array_output[] = "<span style='color: ".$v1['color']."; font-family: ".$v1['font'].";'>".$log_line."</span><br>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue