]> git.pld-linux.org Git - packages/nagios.git/blob - system-jquery.patch
9dcf29589f6948048f2d57d4aae04b4aca8ba79d
[packages/nagios.git] / system-jquery.patch
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 @@ -13,7 +13,7 @@ $this_year = '2014';
4  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
5  <title>Nagios Core</title>
6  <link rel="stylesheet" type="text/css" href="stylesheets/common.css?<?php echo $this_version; ?>" />
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         $(document).ready(function() {
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 @@ -77,7 +77,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 @@ -525,7 +525,7 @@
26                 }
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() ); });");
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.065644 seconds and 2 git commands to generate.