/[monit]/monit/http/cervlet.c
ViewVC logotype

Diff of /monit/http/cervlet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.181 by martinp, Tue Feb 15 20:28:16 2005 UTC revision 1.182 by hauk, Sun Feb 20 21:06:52 2005 UTC
# Line 285  static void do_home(HttpRequest req, Htt Line 285  static void do_home(HttpRequest req, Htt
285    do_home_directory(req, res);    do_home_directory(req, res);
286    do_home_host(req, res);    do_home_host(req, res);
287        
   if(!is_readonly(req)) {  
     out_print(res,  
       "<table cellspacing=16>"  
       "<tr nowrap>");  
     out_print(res,  
       "<td>"  
       "<font size=+1>Force validate cycle now?</font>"  
       "</td>"  
       "<td align=right>"  
       "<form method=GET action=%s>"  
       "<input type=submit value=Go style='font-size: 12pt'></font>"  
       "</form>"  
       "</td>",  
       VALIDATE);  
     out_print(res,  
       "</tr>"  
       "</table>");  
   }  
   
288    FOOT    FOOT
289                
290  }  }
# Line 487  static void do_runtime(HttpRequest req, Line 468  static void do_runtime(HttpRequest req,
468        "</form>"        "</form>"
469        "</td>",        "</td>",
470        STOP);        STOP);
471    
472        out_print(res,
473          "<td>"
474          "<font size=+1>Force validate now?</font>"
475          "</td>"
476          "<td align=right>"
477          "<form method=GET action=%s>"
478          "<input type=submit value=Go style='font-size: 12pt'></font>"
479          "</form>"
480          "</td>",
481          VALIDATE);
482    
483      if(Run.dolog && !Run.use_syslog) {      if(Run.dolog && !Run.use_syslog) {
484        out_print(res,        out_print(res,
485        "<td>"        "<td>"

Legend:
Removed from v.1.181  
changed lines
  Added in v.1.182

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26