[PATCH] Fix text for some service History links in CGI

Thomas Guyot-Sionnest dermoth at aei.ca
Fri May 15 22:56:41 CEST 2009


---
 cgi/avail.c     |    2 +-
 cgi/histogram.c |    2 +-
 cgi/trends.c    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cgi/avail.c b/cgi/avail.c
index 576f402..7fe322b 100644
--- a/cgi/avail.c
+++ b/cgi/avail.c
@@ -435,7 +435,7 @@ int main(int argc, char **argv){
 				printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s'>View Alert Histogram For This Service</a><BR>\n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
 #endif
 				printf("<A HREF='%s?host=%s&",HISTORY_CGI,url_encode(host_name));
-				printf("service=%s'>View Alert History This Service</A><BR>\n",url_encode(svc_description));
+				printf("service=%s'>View Alert History For This Service</A><BR>\n",url_encode(svc_description));
 				printf("<A HREF='%s?host=%s&",NOTIFICATIONS_CGI,url_encode(host_name));
 				printf("service=%s'>View Notifications For This Service</A><BR>\n",url_encode(svc_description));
 	                        }
diff --git a/cgi/histogram.c b/cgi/histogram.c
index 59569ef..74d0d1f 100644
--- a/cgi/histogram.c
+++ b/cgi/histogram.c
@@ -358,7 +358,7 @@ int main(int argc, char **argv){
 				printf("<a href='%s?host=%s",AVAIL_CGI,url_encode(host_name));
 				printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s&show_log_entries'>View Availability Report For This Service</a><BR>\n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
 				printf("<A HREF='%s?host=%s&",HISTORY_CGI,url_encode(host_name));
-				printf("service=%s'>View History This Service</A><BR>\n",url_encode(svc_description));
+				printf("service=%s'>View History For This Service</A><BR>\n",url_encode(svc_description));
 				printf("<A HREF='%s?host=%s&",NOTIFICATIONS_CGI,url_encode(host_name));
 				printf("service=%s'>View Notifications For This Service</A><BR>\n",url_encode(svc_description));
 		                }
diff --git a/cgi/trends.c b/cgi/trends.c
index 8d3d4c6..e2505b0 100644
--- a/cgi/trends.c
+++ b/cgi/trends.c
@@ -401,7 +401,7 @@ int main(int argc, char **argv){
 				printf("<a href='%s?host=%s",HISTOGRAM_CGI,url_encode(host_name));
 				printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s'>View Alert Histogram For This Service</a><BR>\n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
 				printf("<A HREF='%s?host=%s&",HISTORY_CGI,url_encode(host_name));
-				printf("service=%s'>View Alert History This Service</A><BR>\n",url_encode(svc_description));
+				printf("service=%s'>View Alert History For This Service</A><BR>\n",url_encode(svc_description));
 				printf("<A HREF='%s?host=%s&",NOTIFICATIONS_CGI,url_encode(host_name));
 				printf("service=%s'>View Notifications For This Service</A><BR>\n",url_encode(svc_description));
 		                }
-- 
1.6.3


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects




More information about the Developers mailing list