|
From: Bob T. <bt...@us...> - 2004-02-10 00:23:28
|
Update of /cvsroot/benson/benson3/scripts/cgi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9953 Modified Files: alertview.cgi.tmpl suppress.cgi.tmpl Log Message: Fixed a minute bug on the suppress forms. Index: alertview.cgi.tmpl =================================================================== RCS file: /cvsroot/benson/benson3/scripts/cgi/alertview.cgi.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** alertview.cgi.tmpl 9 Feb 2004 22:47:35 -0000 1.5 --- alertview.cgi.tmpl 9 Feb 2004 22:55:50 -0000 1.6 *************** *** 93,97 **** $queue->submit(subsystem => "Benson", severity => "informational", ! message => "suppress agent:$val duration:3600 reason:Temporarily suppressed for problem resolution"); print "done\n"; } --- 93,97 ---- $queue->submit(subsystem => "Benson", severity => "informational", ! message => "suppress agent:$val override:no duration:3600 reason:Temporarily suppressed for problem resolution"); print "done\n"; } Index: suppress.cgi.tmpl =================================================================== RCS file: /cvsroot/benson/benson3/scripts/cgi/suppress.cgi.tmpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** suppress.cgi.tmpl 27 Jun 2003 14:25:34 -0000 1.8 --- suppress.cgi.tmpl 9 Feb 2004 22:55:50 -0000 1.9 *************** *** 98,102 **** my $minute = shift; my $input; ! $input .= qq{<select name="sminute">}; for(my $ctr=0;$ctr<=59;$ctr++) { if($ctr < 10) { --- 98,102 ---- my $minute = shift; my $input; ! $input .= qq{<select name="smin">}; for(my $ctr=0;$ctr<=59;$ctr++) { if($ctr < 10) { |