mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
Removed twitter from about page, reindent, show svn revision
git-svn-id: http://www.observium.org/svn/observer/trunk@1868 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+18
-16
@@ -1,6 +1,16 @@
|
|||||||
<div style="margin: 10px;">
|
<div style="margin: 10px;">
|
||||||
<h3>Observium <?php echo($config['version']);?></h3>
|
<h3>Observium <?php
|
||||||
|
|
||||||
|
echo($config['version']);
|
||||||
|
|
||||||
|
if (file_exists('.svn/entries'))
|
||||||
|
{
|
||||||
|
$svn = File('.svn/entries');
|
||||||
|
echo('-SVN r' . trim($svn[3]));
|
||||||
|
unset($svn);
|
||||||
|
}
|
||||||
|
|
||||||
|
?></h3>
|
||||||
<div style="float: right; padding: 0px; width: 49%">
|
<div style="float: right; padding: 0px; width: 49%">
|
||||||
<?php print_optionbar_start(NULL); ?>
|
<?php print_optionbar_start(NULL); ?>
|
||||||
<h3>License</h3>
|
<h3>License</h3>
|
||||||
@@ -25,7 +35,6 @@ along with this program. If not, see <a href="http://www.gnu.org/licenses/">htt
|
|||||||
|
|
||||||
<?php print_optionbar_start(NULL); ?>
|
<?php print_optionbar_start(NULL); ?>
|
||||||
|
|
||||||
|
|
||||||
<h3>Statistics</h3>
|
<h3>Statistics</h3>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@@ -53,9 +62,7 @@ along with this program. If not, see <a href="http://www.gnu.org/licenses/">htt
|
|||||||
$stat_vrf = mysql_result(mysql_query("SELECT COUNT(*) FROM `vrfs`"),0);
|
$stat_vrf = mysql_result(mysql_query("SELECT COUNT(*) FROM `vrfs`"),0);
|
||||||
$stat_vlans = mysql_result(mysql_query("SELECT COUNT(*) FROM `vlans`"),0);
|
$stat_vlans = mysql_result(mysql_query("SELECT COUNT(*) FROM `vlans`"),0);
|
||||||
|
|
||||||
|
|
||||||
echo("
|
echo("
|
||||||
|
|
||||||
<table width=95% cellpadding=5 cellspacing=0>
|
<table width=95% cellpadding=5 cellspacing=0>
|
||||||
<tr>
|
<tr>
|
||||||
<td width=45%><img src='images/icons/device.png' class='optionicon'> <b>Devices</b></td><td align=right>$stat_devices</td>
|
<td width=45%><img src='images/icons/device.png' class='optionicon'> <b>Devices</b></td><td align=right>$stat_devices</td>
|
||||||
@@ -93,19 +100,13 @@ along with this program. If not, see <a href="http://www.gnu.org/licenses/">htt
|
|||||||
<td ><img src='images/icons/sensors.png' class='optionicon'> <b>Sensors</b></td><td align=right>$stat_sensors</td>
|
<td ><img src='images/icons/sensors.png' class='optionicon'> <b>Sensors</b></td><td align=right>$stat_sensors</td>
|
||||||
<td><img src='images/icons/toner.png' class='optionicon'> <b>Toner</b></td><td align=right>$stat_toner</td>
|
<td><img src='images/icons/toner.png' class='optionicon'> <b>Toner</b></td><td align=right>$stat_toner</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
print_optionbar_end(); ?>
|
print_optionbar_end(); ?>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="float: left; padding: 0px; width: 49%">
|
<div style="float: left; padding: 0px; width: 49%">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$Observium_version = $config['version'];
|
$Observium_version = $config['version'];
|
||||||
@@ -116,7 +117,6 @@ print_optionbar_end(); ?>
|
|||||||
unset($svn);
|
unset($svn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$apache_version = str_replace("Apache/", "", $_SERVER['SERVER_SOFTWARE']);
|
$apache_version = str_replace("Apache/", "", $_SERVER['SERVER_SOFTWARE']);
|
||||||
|
|
||||||
$php_version = phpversion();
|
$php_version = phpversion();
|
||||||
@@ -145,21 +145,23 @@ print_optionbar_end();
|
|||||||
|
|
||||||
<h5>Observium is an autodiscovering PHP/MySQL based network monitoring system.</h5>
|
<h5>Observium is an autodiscovering PHP/MySQL based network monitoring system.</h5>
|
||||||
|
|
||||||
<p><a href="http://www.observium.org">Website</a> |
|
<p>
|
||||||
|
<a href="http://www.observium.org">Website</a> |
|
||||||
<a href="http://www.observium.org/wiki/">Support Wiki</a> |
|
<a href="http://www.observium.org/wiki/">Support Wiki</a> |
|
||||||
<a href="http://www.observium.org/forum/">Forum</a> |
|
<a href="http://www.observium.org/forum/">Forum</a> |
|
||||||
<a href="http://www.observium.org/bugs/">Bugtracker</a> |
|
<a href="http://www.observium.org/bugs/">Bugtracker</a> |
|
||||||
<a href="http://www.observium.org/pmwiki.php/Main/MailingLists">Mailing List</a> |
|
<a href="http://www.observium.org/pmwiki.php/Main/MailingLists">Mailing List</a> |
|
||||||
|
<?php /*
|
||||||
<a href="http://twitter.com/Observium">Twitter</a> |
|
<a href="http://twitter.com/Observium">Twitter</a> |
|
||||||
<a href="http://www.facebook.com/pages/Observer/128354461353">Facebook</a></p>
|
*/ ?>
|
||||||
|
<a href="http://www.facebook.com/pages/Observer/128354461353">Facebook</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4>The Team</h4>
|
<h4>The Team</h4>
|
||||||
|
|
||||||
<img src="images/icons/flags/gb.png"> <strong>Adam Armstrong</strong> Project Founder<br />
|
<img src="images/icons/flags/gb.png"> <strong>Adam Armstrong</strong> Project Founder<br />
|
||||||
<img src="images/icons/flags/be.png"> <strong>Geert Hauwaerts</strong> Developer<br />
|
<img src="images/icons/flags/be.png"> <strong>Geert Hauwaerts</strong> Developer<br />
|
||||||
<img src="images/icons/flags/be.png"> <strong>Tom Laermans</strong> Developer<br />
|
<img src="images/icons/flags/be.png"> <strong>Tom Laermans</strong> Developer<br />
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h4>Acknowledgements</h4>
|
<h4>Acknowledgements</h4>
|
||||||
|
|
||||||
@@ -170,5 +172,5 @@ print_optionbar_end();
|
|||||||
<b>Xiaochi Jin</b> Logo design. <br />
|
<b>Xiaochi Jin</b> Logo design. <br />
|
||||||
<b>Bruno Pramont</b> Collectd code. <br />
|
<b>Bruno Pramont</b> Collectd code. <br />
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user