1 do not fetch rss automatically, respect some privacy!
3 use update_checks_enabled option to tune the default (altho new option would be
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
8 @@ -14,8 +14,11 @@ $this_year = '2014';
9 <title>Nagios Core</title>
10 <link rel="stylesheet" type="text/css" href="stylesheets/common.css?<?php echo $this_version; ?>" />
11 <script type="text/javascript" src="/js/jquery/jquery.js"></script>
13 <script type='text/javascript'>
15 + $updateinfo=get_update_information();
16 + if ($updateinfo['update_checks_enabled']!==false):
18 $(document).ready(function() {
19 loadRemoteFeed( // Our top banner splash.
20 '#splashbox0-contents', 'corebanner', 1,
21 @@ -31,7 +34,9 @@ $this_year = '2014';
22 '#splashbox5-contents', 'corepromo', 3,
23 '<ul>', processPromoItem, '</ul>'
32 @@ -141,7 +141,7 @@ $this_year = '2014';
34 <div id="updateversioninfo">
36 - $updateinfo = get_update_information();
37 + //$updateinfo = get_update_information();
38 if (!$updateinfo['update_checks_enabled']) {
40 <div class="updatechecksdisabled">