--- nagios-2.5/cgi/extinfo.c 2006-03-21 21:31:46.000000000 +0000 +++ nagios-2.5.extinfo_div_fixes/cgi/extinfo.c 2006-10-03 11:12:39.809179433 +0100 @@ -298,7 +298,7 @@ printf("\n"); /* middle column of top row */ - printf("\n"); + printf("\n"); if(((display_type==DISPLAY_HOST_INFO || display_type==DISPLAY_SERVICE_INFO) && temp_host!=NULL) || (display_type==DISPLAY_HOSTGROUP_INFO && temp_hostgroup!=NULL) || (display_type==DISPLAY_SERVICEGROUP_INFO && temp_servicegroup!=NULL)){ @@ -698,7 +698,7 @@ return; } - printf("

\n"); + printf("
\n"); printf("

\n"); printf("\n"); @@ -864,6 +864,7 @@ printf("
\n"); printf("\n"); + printf("
\n"); #ifdef REMOVED_081203 printf("

"); @@ -1758,9 +1759,9 @@ /* read in all comments */ read_comment_data(get_cgi_config_location()); - printf("

\n"); + printf("
\n"); printf("

Host Comments | Service Comments ]
\n"); - printf("

\n"); + printf("
\n"); printf("\n"); printf("
Host Comments
\n"); @@ -1769,7 +1770,7 @@ printf("",COMMAND_CGI,CMD_ADD_HOST_COMMENT); printf("Add a new host comment\n"); - printf("

\n"); + printf("
\n"); printf("

\n"); printf("\n"); printf("\n"); @@ -1826,10 +1827,10 @@ if(total_comments==0) printf(""); - printf("\n"); printf("
Host NameEntry TimeAuthorCommentComment IDPersistentTypeExpiresActions
There are no host comments
\n"); + printf("
\n"); - printf("


\n"); + printf("


\n"); printf("\n"); @@ -1839,7 +1840,7 @@ printf("",COMMAND_CGI,CMD_ADD_SVC_COMMENT); printf("Add a new service comment\n"); - printf("

\n"); + printf("
\n"); printf("

\n"); printf("\n"); printf("\n"); @@ -1898,8 +1899,8 @@ if(total_comments==0) printf(""); - printf("\n"); printf("
Host NameServiceEntry TimeAuthorCommentComment IDPersistentTypeExpiresActions
There are no service comments
\n"); + printf("
\n"); return; } @@ -2170,7 +2171,7 @@ /***** ACTIVE SERVICE CHECKS *****/ printf("\n"); - printf("
Active Service Checks:
\n"); + printf("
Active Service Checks:
\n"); printf("\n"); /* fake this so we don't divide by zero for just showing the table */ @@ -2218,7 +2219,7 @@ /***** PASSIVE SERVICE CHECKS *****/ printf("\n"); - printf("
Passive Service Checks:
\n"); + printf("
Passive Service Checks:
\n"); printf("\n"); @@ -2261,7 +2262,7 @@ /***** ACTIVE HOST CHECKS *****/ printf("\n"); - printf("
Active Host Checks:
\n"); + printf("
Active Host Checks:
\n"); printf("\n"); /* fake this so we don't divide by zero for just showing the table */ @@ -2309,7 +2310,7 @@ /***** PASSIVE HOST CHECKS *****/ printf("\n"); - printf("
Passive Host Checks:
\n"); + printf("
Passive Host Checks:
\n"); printf("\n"); @@ -2389,7 +2390,7 @@ printf("
%s Comments
\n",(type==HOST_COMMENT)?"Host":"Service"); printf("\n"); - printf("\n"); - printf("
",url_images_path,COMMENT_ICON); + printf("
",url_images_path,COMMENT_ICON); if(type==HOST_COMMENT) printf("",COMMAND_CGI,CMD_ADD_HOST_COMMENT,url_encode(host_name)); else{ @@ -2398,7 +2399,7 @@ } printf("Add a new comment
",url_images_path,DELETE_ICON); + printf("
",url_images_path,DELETE_ICON); if(type==HOST_COMMENT) printf("",COMMAND_CGI,CMD_DEL_ALL_HOST_COMMENTS,url_encode(host_name)); else{ @@ -2500,9 +2501,9 @@ /* read in all downtime */ read_downtime_data(get_cgi_config_location()); - printf("

\n"); + printf("
\n"); printf("

\n"); - printf("

\n"); + printf("
\n"); printf("\n"); printf("
Scheduled Host Downtime
\n"); @@ -2511,7 +2512,7 @@ printf("",COMMAND_CGI,CMD_SCHEDULE_HOST_DOWNTIME); printf("Schedule host downtime\n"); - printf("

\n"); + printf("
\n"); printf("

\n"); printf("\n"); printf("\n"); @@ -2566,10 +2567,10 @@ if(total_downtime==0) printf(""); - printf("\n"); printf("
Host NameEntry TimeAuthorCommentStart TimeEnd TimeTypeDurationDowntime IDTrigger IDActions
There are no hosts with scheduled downtime
\n"); + printf("
\n"); - printf("


\n"); + printf("


\n"); printf("\n"); @@ -2579,7 +2580,7 @@ printf("",COMMAND_CGI,CMD_SCHEDULE_SVC_DOWNTIME); printf("Schedule service downtime\n"); - printf("

\n"); + printf("
\n"); printf("

\n"); printf("\n"); printf("\n"); @@ -2636,8 +2637,8 @@ if(total_downtime==0) printf(""); - printf("\n"); printf("
Host NameServiceEntry TimeAuthorCommentStart TimeEnd TimeTypeDurationDowntime IDTrigger IDActions
There are no services with scheduled downtime
\n"); + printf("
\n"); return; }