Changeset 266 for trunk


Ignore:
Timestamp:
03/07/12 12:47:53 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Minor tweak to log viewing; replace \n in entries with <br>\n.
Some long entries need this to be intelligible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r262 r266  
    16911691    $row{userid} = $uid;
    16921692    $row{useremail} = $email;
    1693     $row{logentry} = $entry;
     1693    ($row{logentry} = $entry) =~ s/\n/<br>\n/g;
    16941694    ($row{logtime}) = ($stamp =~ /^(.+)-\d\d$/);
    16951695    push @logbits, \%row;
Note: See TracChangeset for help on using the changeset viewer.