mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 21:08:54 +01:00
Add cosmetic display, and fixbug
This commit is contained in:
parent
9296ca1e22
commit
b7e6425723
@ -415,9 +415,13 @@
|
||||
{
|
||||
$line = eregi_replace("\t+", "\t", $line);
|
||||
$_f_buffer = split("\t", $line);
|
||||
if( count($_f_buffer) > 4 )
|
||||
|
||||
# Bad Line
|
||||
if( count($_f_buffer) != 4 )
|
||||
{
|
||||
$this->line_rejected[] = Array("appfile" => $appfile, "line" => $line);
|
||||
$line_display = eregi_replace("\t", "<font color='red'><b>\\t</b></font>", $line);
|
||||
$line_display = eregi_replace("\n", "<font color='red'><b>\\n</b></font>", $line_display);
|
||||
$this->line_rejected[] = Array("appfile" => $appfile, "line" => $line_display);
|
||||
}
|
||||
|
||||
// explode with "\t" and removing "\n" with str_replace, needed to work with mbstring.overload=7
|
||||
|
Loading…
Reference in New Issue
Block a user