]> git.pld-linux.org Git - packages/nagios.git/blame - system-jquery.patch
- move directives around for readability
[packages/nagios.git] / system-jquery.patch
CommitLineData
bf8055c4
ER
1--- nagios-3.4.1/html/main.php~ 2012-05-12 03:00:53.000000000 +0300
2+++ nagios-3.4.1/html/main.php 2012-05-28 23:55:54.310721306 +0300
3@@ -12,7 +12,7 @@
4 <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
5 <title>Nagios Core</title>
6 <link rel='stylesheet' type='text/css' href='stylesheets/common.css' />
7-<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
8+<script type="text/javascript" src="/js/jquery/jquery.js"></script>
9
10 <script type='text/javascript'>
11
12--- nagios-3.4.1/include/cgiutils.h~ 2012-05-24 17:15:30.000000000 +0300
13+++ nagios-3.4.1/include/cgiutils.h 2012-05-28 23:56:18.921757228 +0300
14@@ -80,7 +80,7 @@
15 #define SUMMARY_CSS "summary.css"
16
17 /********************************* JAVASCRIPT INCLUDES **********************/
18-#define JQUERY_JS "jquery-1.7.1.min.js"
19+#define JQUERY_JS "/js/jquery/jquery.js"
20
21 /********************************* ICONS ************************************/
22
23--- nagios-3.4.1/cgi/status.c~ 2012-05-24 17:15:30.000000000 +0300
24+++ nagios-3.4.1/cgi/status.c 2012-05-28 23:57:04.933694000 +0300
25@@ -558,7 +558,7 @@
26 }
33fd0590
AM
27
28 /* added jquery library 1/31/2012 */
29- printf("<script type='text/javascript' src='%s%s'></script>\n", url_js_path, JQUERY_JS);
30+ printf("<script type='text/javascript' src='%s'></script>\n", JQUERY_JS);
31 /* JS function to append content to elements on page */
32 printf("<script type='text/javascript'>\n");
33 printf("$(document).ready(function() { $('#top_page_numbers').append($('#bottom_page_numbers').html() ); });");
bf8055c4
ER
34--- nagios-3.4.1/html/Makefile.in~ 2012-05-28 23:52:30.000000000 +0300
35+++ nagios-3.4.1/html/Makefile.in 2012-05-28 23:59:43.973722231 +0300
36@@ -61,8 +61,6 @@
37 do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
38 for file in contexthelp/*.html; \
39 do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
40- for file in js/*.js; \
41- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/js; done
42 # for file in docs/*.html; \
43 # do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
44 # for file in docs/images/*.*; \
This page took 0.119933 seconds and 4 git commands to generate.