Query:"; foreach (qw(user admin type)) { $ret .= " $_=" . LJ::eall($FORM{$_}) if $FORM{$_} } $ret .= "
\n"; $ret .= "$_ | "; } $ret .= "||||
";
if ($hist->{$_} && ($_ eq 'user' || $_ eq 'admin')) {
$ret .= LJ::ljuser($hist->{$_});
} elsif ($_ eq 'notes') {
# notes need to be ehtml'd, but afterwards, we can convert \n to my $enotes = LJ::ehtml($hist->{$_}); $enotes =~ s!\n! \n!g; $ret .= $enotes; } else { $ret .= LJ::ehtml($hist->{$_}); } $ret .= " | ";
}
$ret .= "||||
$ct rows in set"; $ret .= "[truncated]" if $ct >= 1000; $ret .= " |