]> git.pld-linux.org Git - packages/nagios.git/blob - nagios-favicon.patch
- rel 3
[packages/nagios.git] / nagios-favicon.patch
1 --- ../html/index.html.in~      2005-04-09 23:45:21.000000000 +0300
2 +++ ../html/index.html.in       2005-04-09 23:45:24.000000000 +0300
3 @@ -4,6 +4,7 @@
4  <HEAD>
5  <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
6  <TITLE>Nagios</TITLE>
7 +<link rel="shortcut icon" href="@htmurl@/favicon.ico" type="image/ico">
8  </HEAD>
9  <FRAMESET BORDER="0" FRAMEBORDER="0" FRAMESPACING="0" COLS="180,*">
10  <FRAME SRC="side.html" NAME="side" TARGET="main">
11 --- ../cgi/status.c~    2005-04-09 23:38:44.000000000 +0300
12 +++ ../cgi/status.c     2005-04-09 23:38:50.000000000 +0300
13 @@ -499,6 +499,7 @@
14  
15         printf("<html>\n");
16         printf("<head>\n");
17 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
18         printf("<title>\n");
19         printf("Current Network Status\n");
20         printf("</title>\n");
21 --- ../cgi/avail.c~     2005-04-09 23:40:04.000000000 +0300
22 +++ ../cgi/avail.c      2005-04-09 23:40:06.000000000 +0300
23 @@ -34,6 +34,7 @@
24  
25  
26  extern char main_config_file[MAX_FILENAME_LENGTH];
27 +extern char url_html_path[MAX_FILENAME_LENGTH];
28  extern char url_images_path[MAX_FILENAME_LENGTH];
29  extern char url_stylesheets_path[MAX_FILENAME_LENGTH];
30  
31 @@ -1082,6 +1083,7 @@
32  
33         printf("<html>\n");
34         printf("<head>\n");
35 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
36         printf("<title>\n");
37         printf("Nagios Availability\n");
38         printf("</title>\n");
39 --- ../cgi/cmd.c~       2005-02-02 20:51:20.000000000 +0200
40 +++ ../cgi/cmd.c        2005-04-09 23:40:44.000000000 +0300
41 @@ -33,6 +33,7 @@
42  #include "../include/getcgi.h"
43  
44  extern char main_config_file[MAX_FILENAME_LENGTH];
45 +extern char url_html_path[MAX_FILENAME_LENGTH];
46  extern char command_file[MAX_FILENAME_LENGTH];
47  extern char comment_file[MAX_FILENAME_LENGTH];
48  
49 @@ -236,6 +237,7 @@
50  
51                 printf("<html>\n");
52                 printf("<head>\n");
53 +               printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
54                 printf("<title>\n");
55                 printf("External Command Interface\n");
56                 printf("</title>\n");
57 --- ../cgi/config.c~    2004-11-06 07:44:12.000000000 +0200
58 +++ ../cgi/config.c     2005-04-09 23:41:04.000000000 +0300
59 @@ -316,6 +316,7 @@
60  
61         printf("<html>\n");
62         printf("<head>\n");
63 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
64         printf("<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>\n");
65         printf("<title>\n");
66         printf("Configuration\n");
67 --- ../cgi/extinfo.c~   2005-02-02 20:51:21.000000000 +0200
68 +++ ../cgi/extinfo.c    2005-04-09 23:41:26.000000000 +0300
69 @@ -527,6 +527,7 @@
70  
71         printf("<html>\n");
72         printf("<head>\n");
73 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
74         printf("<title>\n");
75         printf("Extended Information\n");
76         printf("</title>\n");
77 --- ../cgi/histogram.c~ 2004-11-06 07:44:12.000000000 +0200
78 +++ ../cgi/histogram.c  2005-04-09 23:41:53.000000000 +0300
79 @@ -126,6 +126,7 @@
80  
81  
82  extern char main_config_file[MAX_FILENAME_LENGTH];
83 +extern char url_html_path[MAX_FILENAME_LENGTH];
84  extern char url_images_path[MAX_FILENAME_LENGTH];
85  extern char url_stylesheets_path[MAX_FILENAME_LENGTH];
86  extern char physical_images_path[MAX_FILENAME_LENGTH];
87 @@ -997,6 +998,7 @@
88  
89                 printf("<html>\n");
90                 printf("<head>\n");
91 +               printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
92                 printf("<title>\n");
93                 printf("Nagios Histogram\n");
94                 printf("</title>\n");
95 --- ../cgi/history.c~   2004-12-03 04:01:52.000000000 +0200
96 +++ ../cgi/history.c    2005-04-09 23:42:21.000000000 +0300
97 @@ -53,6 +53,7 @@
98  int process_cgivars(void);
99  
100  extern char main_config_file[MAX_FILENAME_LENGTH];
101 +extern char url_html_path[MAX_FILENAME_LENGTH];
102  extern char url_images_path[MAX_FILENAME_LENGTH];
103  extern char url_stylesheets_path[MAX_FILENAME_LENGTH];
104  
105 @@ -319,6 +320,7 @@
106  
107         printf("<html>\n");
108         printf("<head>\n");
109 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
110         printf("<title>\n");
111         printf("Nagios History\n");
112         printf("</title>\n");
113 --- ../cgi/notifications.c~     2004-10-31 06:16:02.000000000 +0200
114 +++ ../cgi/notifications.c      2005-04-09 23:42:42.000000000 +0300
115 @@ -308,6 +308,7 @@
116  
117         printf("<html>\n");
118         printf("<head>\n");
119 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
120         printf("<title>\n");
121         printf("Alert Notifications\n");
122         printf("</title>\n");
123 --- ../cgi/outages.c~   2004-10-31 06:16:03.000000000 +0200
124 +++ ../cgi/outages.c    2005-04-09 23:43:00.000000000 +0300
125 @@ -226,6 +226,7 @@
126  
127         printf("<html>\n");
128         printf("<head>\n");
129 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
130         printf("<title>\n");
131         printf("Network Outages\n");
132         printf("</title>\n");
133 --- ../cgi/statusmap.c~ 2004-11-06 07:44:12.000000000 +0200
134 +++ ../cgi/statusmap.c  2005-04-09 23:43:32.000000000 +0300
135 @@ -49,6 +49,7 @@
136  #define NAGIOS_GD2_ICON       "nagios.gd2"
137  
138  extern char main_config_file[MAX_FILENAME_LENGTH];
139 +extern char url_html_path[MAX_FILENAME_LENGTH];
140  extern char physical_images_path[MAX_FILENAME_LENGTH];
141  extern char url_images_path[MAX_FILENAME_LENGTH];
142  extern char url_logo_images_path[MAX_FILENAME_LENGTH];
143 @@ -326,6 +327,7 @@
144  
145                 printf("<html>\n");
146                 printf("<head>\n");
147 +               printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
148                 printf("<title>\n");
149                 printf("Network Map\n");
150                 printf("</title>\n");
151 --- ../cgi/summary.c~   2004-11-01 00:23:26.000000000 +0200
152 +++ ../cgi/summary.c    2005-04-09 23:43:57.000000000 +0300
153 @@ -34,6 +34,7 @@
154  
155  
156  extern char main_config_file[MAX_FILENAME_LENGTH];
157 +extern char url_html_path[MAX_FILENAME_LENGTH];
158  extern char url_images_path[MAX_FILENAME_LENGTH];
159  extern char url_stylesheets_path[MAX_FILENAME_LENGTH];
160  
161 @@ -711,6 +712,7 @@
162  
163         printf("<html>\n");
164         printf("<head>\n");
165 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
166         printf("<title>\n");
167         printf("Nagios Event Summary\n");
168         printf("</title>\n");
169 --- ../cgi/trends.c~    2005-01-17 19:35:34.000000000 +0200
170 +++ ../cgi/trends.c     2005-04-09 23:44:21.000000000 +0300
171 @@ -40,6 +40,7 @@
172  
173  
174  extern char main_config_file[MAX_FILENAME_LENGTH];
175 +extern char url_html_path[MAX_FILENAME_LENGTH];
176  extern char url_images_path[MAX_FILENAME_LENGTH];
177  extern char url_stylesheets_path[MAX_FILENAME_LENGTH];
178  extern char physical_images_path[MAX_FILENAME_LENGTH];
179 @@ -1115,6 +1116,7 @@
180  
181                 printf("<html>\n");
182                 printf("<head>\n");
183 +               printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
184                 printf("<title>\n");
185                 printf("Nagios Trends\n");
186                 printf("</title>\n");
187 --- ../cgi/showlog.c~   2004-11-06 07:44:12.000000000 +0200
188 +++ ../cgi/showlog.c    2005-04-09 23:48:57.000000000 +0300
189 @@ -33,6 +33,7 @@
190  #include "../include/cgiauth.h"
191  
192  extern char   main_config_file[MAX_FILENAME_LENGTH];
193 +extern char   url_html_path[MAX_FILENAME_LENGTH];
194  extern char   url_images_path[MAX_FILENAME_LENGTH];
195  extern char   url_stylesheets_path[MAX_FILENAME_LENGTH];
196  
197 @@ -192,6 +193,7 @@
198  
199         printf("<HTML>\n");
200         printf("<HEAD>\n");
201 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
202         printf("<TITLE>\n");
203         printf("Nagios Log File\n");
204         printf("</TITLE>\n");
205 --- ../cgi/tac.c~       2004-11-06 07:44:12.000000000 +0200
206 +++ ../cgi/tac.c        2005-04-09 23:52:52.000000000 +0300
207 @@ -47,6 +47,7 @@
208  
209  
210  extern char   main_config_file[MAX_FILENAME_LENGTH];
211 +extern char   url_html_path[MAX_FILENAME_LENGTH];
212  extern char   url_images_path[MAX_FILENAME_LENGTH];
213  extern char   url_stylesheets_path[MAX_FILENAME_LENGTH];
214  extern char   url_media_path[MAX_FILENAME_LENGTH];
215 @@ -330,6 +331,7 @@
216  
217         printf("<HTML>\n");
218         printf("<HEAD>\n");
219 +       printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n", url_html_path);
220         printf("<TITLE>\n");
221         printf("Nagios Tactical Monitoring Overview\n");
222         printf("</TITLE>\n");
This page took 0.053216 seconds and 3 git commands to generate.