]> git.pld-linux.org Git - packages/nagios.git/blame - do-not-fetch-rss.patch
- up to 4.3.3
[packages/nagios.git] / do-not-fetch-rss.patch
CommitLineData
252c8c1b
ER
1do not fetch rss automatically, respect some privacy!
2
3use update_checks_enabled option to tune the default (altho new option would be
4more reasonable)
5
6--- nagios/html/main.php~ 2012-05-29 00:04:23.000000000 +0300
7+++ nagios/html/main.php 2012-05-29 00:08:36.419474072 +0300
2ba13e8d
AM
8@@ -22,6 +22,10 @@ $this_year = '2017';
9 var vBoxId = "main";
10 var vboxText = "<a href=https://www.nagios.com/tours target=_blank> " +
11 "Click here to watch the entire Nagios Core 4 Tour!</a>";
252c8c1b
ER
12+<?php
13+ $updateinfo=get_update_information();
14+ if ($updateinfo['update_checks_enabled']!==false):
15+?>
fa363e1f 16 $(document).ready(function() {
2ba13e8d
AM
17 var user = "<?php echo $_SERVER['REMOTE_USER']; ?>";
18
fa363e1f
AM
19@@ -31,7 +34,9 @@ $this_year = '2014';
20 '#splashbox5-contents', 'corepromo', 3,
21 '<ul>', processPromoItem, '</ul>'
22 );
23-
252c8c1b 24+<?php
fa363e1f 25+ endif;
252c8c1b 26+?>
fa363e1f
AM
27 getCoreStatus();
28 });
252c8c1b 29
fa363e1f 30@@ -141,7 +141,7 @@ $this_year = '2014';
252c8c1b
ER
31
32 <div id="updateversioninfo">
33 <?php
fa363e1f
AM
34- $updateinfo = get_update_information();
35+ //$updateinfo = get_update_information();
36 if (!$updateinfo['update_checks_enabled']) {
37 ?>
38 <div class="updatechecksdisabled">
This page took 0.062601 seconds and 4 git commands to generate.