ispman/ispman-web/cgi-bin/tmpl status.tmpl,1.7,1.8

[email protected]
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30966/ispman-web/cgi-bin/tmpl

Modified Files:
	status.tmpl 
Log Message:
fixed perl warnings

Index: status.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/status.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- status.tmpl	28 Apr 2003 14:47:01 -0000	1.7
+++ status.tmpl	1 Feb 2004 23:22:51 -0000	1.8
@@ -33,9 +33,9 @@
                         
                         <td align=right>
                         <select class=statusselect name="refresh" ONCHANGE="Refresh(this.options[this.selectedIndex].value)">
-                        <option value="10" <perl>($r->param("refresh")==10)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 10)</perl></option>
-                        <option value="30"  <perl>($r->param("refresh")==30)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 30)</perl></option>
-                        <option value="60"  <perl>($r->param("refresh")==60)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 60)</perl></option>
+                        <option value="10" <perl>($r->param("refresh") && $r->param("refresh")==10)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 10)</perl></option>
+                        <option value="30"  <perl>($r->param("refresh") && $r->param("refresh")==30)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 30)</perl></option>
+                        <option value="60"  <perl>($r->param("refresh") && $r->param("refresh")==60)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 60)</perl></option>
                         <OPTION value=""  <perl>($r->param("refresh"))?"  ":" selected "</perl>><perl>_("Dont refresh")</perl></option>
                         </select>
                         



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.