[icinga-checkins] icinga.org: icinga-core/dev/cgis: classic ui: fixed Tooltip from action_url interfering with pnp4nagios integration #2198

git at icinga.org git at icinga.org
Sun Jan 15 01:24:19 CET 2012


Module: icinga-core
Branch: dev/cgis
Commit: 9ed0d0a90b7ef2bc9b1a02f1f54e6d9275f47b6b
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=9ed0d0a90b7ef2bc9b1a02f1f54e6d9275f47b6b

Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Sun Jan 15 01:22:44 2012 +0100

classic ui: fixed Tooltip from action_url interfering with pnp4nagios integration #2198

refs: #2198

removed ALT and TITLE tag from action_url in status.cgi

---

 Changelog    |    1 +
 cgi/status.c |    9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Changelog b/Changelog
index 495ec05..6aa380d 100644
--- a/Changelog
+++ b/Changelog
@@ -20,6 +20,7 @@ FIXES
 * classic ui: Fixed notifications.cgi - memory access error #2234
 * classic ui: Done clean up document_header() and unused vars in cgi's #2252
 * classic ui: Fixed status.cgi: host param not honoured with servicefilter #2262
+* classic ui: fixed Tooltip from action_url interfering with pnp4nagios integration #2198
 
  
 1.6.0 - 30/11/2011
diff --git a/cgi/status.c b/cgi/status.c
index c72a0f1..a49d68b 100644
--- a/cgi/status.c
+++ b/cgi/status.c
@@ -2053,7 +2053,8 @@ void show_service_detail(void) {
 					printf("<A HREF='");
 					printf("%s", processed_string);
 					printf("' TARGET='%s'>", (action_url_target == NULL) ? "_blank" : action_url_target);
-					printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Host Actions", "Perform Extra Host Actions");
+//					printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Host Actions", "Perform Extra Host Actions");
+					printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT);
 					printf("</A>");
 					printf("</TD>\n");
 					END_MULTIURL_LOOP
@@ -2149,7 +2150,8 @@ void show_service_detail(void) {
 				printf("<A HREF='");
 				printf("%s", processed_string);
 				printf("' TARGET='%s'>", (action_url_target == NULL) ? "_blank" : action_url_target);
-				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Service Actions", "Perform Extra Service Actions");
+//				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Service Actions", "Perform Extra Service Actions");
+				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT);
 				printf("</A>");
 				printf("</TD>\n");
 				END_MULTIURL_LOOP
@@ -2560,7 +2562,8 @@ void show_host_detail(void) {
 				printf("<A HREF='");
 				printf("%s", processed_string);
 				printf("' TARGET='%s'>", (action_url_target == NULL) ? "_blank" : action_url_target);
-				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Host Actions", "Perform Extra Host Actions");
+//				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d ALT='%s' TITLE='%s'>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT, "Perform Extra Host Actions", "Perform Extra Host Actions");
+				printf("<IMG SRC='%s%s%s' BORDER=0 WIDTH=%d HEIGHT=%d>", url_images_path, MU_iconstr, ACTION_ICON, STATUS_ICON_WIDTH, STATUS_ICON_HEIGHT);
 				printf("</A>");
 				printf("</TD>\n");
 				END_MULTIURL_LOOP





More information about the icinga-checkins mailing list