mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
show svn revision in footer, when checked out from svn
git-svn-id: http://www.observium.org/svn/observer/trunk@668 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -142,7 +142,14 @@ function popUp(URL) {
|
||||
$end = utime(); $run = $end - $start;
|
||||
$gentime = substr($run, 0, 5);
|
||||
echo('<br /> <div id="footer">Generated in ' . $gentime . ' seconds
|
||||
<br /> <a href="http://www.observernms.org">Observer ' . $config['version'] . '</a> © 2006-2010 Adam Armstrong
|
||||
<br /> <a href="http://www.observernms.org">Observer ' . $config['version']);
|
||||
if (file_exists('.svn/entries'))
|
||||
{
|
||||
$svn = File('.svn/entries');
|
||||
echo '-SVN r' . trim($svn[3]);
|
||||
unset($svn);
|
||||
}
|
||||
echo ('</a> © 2006-2010 Adam Armstrong
|
||||
<br />This work is licensed under the <a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html">GPL, version 3</a>.</div>');
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user