~ubuntu-branches/ubuntu/trusty/nagios3/trusty

« back to all changes in this revision

Viewing changes to debian/php/main.php

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2009-08-16 14:14:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090816141423-efjzq1r3jekwd7l7
Tags: 3.2.0-1
* New upstream release (Closes: #542957)
  - Timeperiods should work as expected now (Closes: #539882)
  - Recovery notifications fixed (Closes: #543657)
* Update standards version 
  - Add README.source
* Manpage errors fixed (Closes: #540554)
* Split up the webfrontend into its own package (Closes: #479338, #485466)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
include_once(dirname(__FILE__).'/includes/utils.inc.php');
 
3
 
 
4
?>
 
5
 
 
6
 
 
7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
8
 
 
9
<HTML>
 
10
 
 
11
<HEAD>
 
12
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
 
13
<TITLE>Nagios</TITLE>
 
14
<LINK REL='stylesheet' TYPE='text/css' HREF='stylesheets/common.css'>
 
15
</HEAD>
 
16
 
 
17
<BODY id="splashpage">
 
18
 
 
19
 
 
20
<div id="mainbrandsplash">
 
21
<div id="mainlogo">
 
22
<a href="http://www.nagios.org/" target="_blank"><img src="images/logofullsize.png" border="0" alt="Nagios" title="Nagios"></a>
 
23
</div>
 
24
</div>
 
25
 
 
26
<div id="currentversioninfo">
 
27
<div class="product">Nagios<sup><span style="font-size: small;">&reg;</span></sup> Core<sup><span style="font-size: small;">&trade;</span></sup></div>
 
28
<div class="version">Version 3.2.0</div>
 
29
<div class="releasedate">August 12, 2009</div>
 
30
<div class="checkforupdates"><a href="http://www.nagios.org/checkforupdates/?version=3.2.0&product=nagioscore" target="_blank">Check for updates</a></div>
 
31
<div class="whatsnew"><a href="docs/whatsnew.html">Read what's new in Nagios Core 3</a></div>
 
32
</div>
 
33
 
 
34
 
 
35
<div id="updateversioninfo">
 
36
<?php
 
37
        $updateinfo=get_update_information();
 
38
        //print_r($updateinfo);
 
39
        //$updateinfo['update_checks_enabled']=false;
 
40
        //$updateinfo['update_available']=true;
 
41
        if($updateinfo['update_checks_enabled']==false){
 
42
?>
 
43
                <div class="updatechecksdisabled">
 
44
                <div class="warningmessage">Warning: Automatic Update Checks are Disabled!</div>
 
45
                <div class="submessage">Disabling update checks presents a possible security risk.  Visit <a href="http://www.nagios.org/" target="_blank">nagios.org</a> to check for updates manually or enable update checks in your Nagios config file.</a></div>
 
46
                </div>
 
47
<?php
 
48
                }
 
49
        else if($updateinfo['update_available']==true){
 
50
?>
 
51
                <div class="updateavailable">
 
52
                <div class="updatemessage">A new version of Nagios is available!</div>
 
53
                <div class="submessage">Visit <a href="http://www.nagios.org/" target="_blank">nagios.org</a> to download Nagios <?php echo $updateinfo['update_version'];?>.</div>
 
54
                </div>
 
55
<?php
 
56
                }
 
57
?>
 
58
</div>
 
59
 
 
60
 
 
61
<div id="mainfooter">
 
62
<div id="maincopy">Copyright &copy; 2009 Nagios Core Development Team and Community Contributors.<br>Copyright &copy; 1999-2009 Ethan Galstad.<br>See the THANKS file for more information on contributors.</div>
 
63
<div CLASS="disclaimer">
 
64
Nagios Core is licensed under the GNU General Public License and is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.  Nagios, Nagios Core and the Nagios logo are trademarks, servicemarks, registered trademarks or registered servicemarks owned by Nagios Enterprises, LLC.  Usage of the Nagios marks are governed by our <A href="http://www.nagios.org/legal/trademarkpolicy/">trademark policy</a>.
 
65
</div>
 
66
<div class="logos">
 
67
<a href="http://www.nagios.com/" target="_blank"><img src="images/NagiosEnterprises-whitebg-112x46.png" width="112" height="46" border="0" style="padding: 0 20px 0 0;" title="Nagios Enterprises"></a>  
 
68
 
 
69
<a href="http://www.nagios.org/" target="_blank"><img src="images/weblogo1.png" width="102" height="47" border="0" style="padding: 0 40px 0 40px;" title="Nagios.org"></a>
 
70
 
 
71
<a href="http://sourceforge.net/projects/nagios"><img src="images/sflogo.png" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
 
72
</div>
 
73
</div> 
 
74
 
 
75
 
 
76
</BODY>
 
77
</HTML>
 
78