[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: nocol-users NOCOL and Y2K

Yup.  This was posted back in February...

In "genweb.pl":

    $year += 1900;
    $today = "$z1[$mon]/$z1[$mday]/$year  $hour:$z1[$min]";

Here's a freebie:

> PS: I made a minor enhancement to the log file display in
> the log file display (webnocol.cgi).  Instead of toggling the
> row color, have it display the color (red,blue,yellow,green)
> based on the level of severity:
> 
> ...
>   local ($rowcolor{"Critical"}) = "#CC0000";
>   local ($rowcolor{"Error"})    = "#0066CC";
>   local ($rowcolor{"Warning"})  = "#EEEE00";
>   local ($rowcolor{"Info"})     = "#00CC00";
> ...
>       print "<TR bgcolor=\"$rowcolor{$7}\"> \n";

--------------------------------------------------

"Nathan Clemons [Staff]" wrote:
> 
> Heh... this is from our NOCOL server:
> 
>   Current view: Warning  7 messages
> Last update: 01/03/19100 14:30
>  (updated 0 min ago)
> 
> Looks like the javascript isn't y2k *grin* Anyone have a fix for this?
> 
> ---Nathan
> 
> ____________________________________________________________________
> Nathan Clemons, Systems Engineer
> WinStar Internet and Hosting Services
> 
> 800 South Main St. Mansfield, MA  02048
> ____________________________________________________________________
> nclemons@winstar.com    www.winstar.com    (v) 800-234-0002 ext.1109
> nathan@ici.net                             (f) 508-261-0430

-- 
Jim Rice               o~         o~     ofc:    (949) 581-1700
Techfuel, Inc.       +-/-'      <//\     fax:    (949) 581-1799
3 Musick              <<        /V<=     dsk:    (949) 609-0412
Irvine, CA 92618     <"===>    @ ==@     net:  jim@techfuel.com