--- nagios-3.4.1-original/cgi/cgiutils.c 2012-02-13 21:40:42.000000000 +0100 +++ nagios-3.4.1-v1/cgi/cgiutils.c 2012-09-05 17:13:51.741728203 +0200 @@ -119,6 +119,9 @@ int color_transparency_index_r = 255; int color_transparency_index_g = 255; int color_transparency_index_b = 255; +char *docs_url = NULL; +char *docs_title = NULL; +char *docs_icon = 'NULL'; extern hostgroup *hostgroup_list; extern contactgroup *contactgroup_list; @@ -438,6 +441,15 @@ else if(!strcmp(var, "splunk_url")) splunk_url = strdup(val); + else if(!strcmp(var, "docs_url")) + docs_url = strdup(val); + + else if(!strcmp(var, "docs_title")) + docs_title = strdup(val); + + else if(!strcmp(var, "docs_icon")) + docs_icon = strdup(val); + else if(!strcmp(var, "escape_html_tags")) escape_html_tags = (atoi(val) > 0) ? TRUE : FALSE;