mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
add rancid config integration
git-svn-id: http://www.observium.org/svn/observer/trunk@343 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -137,6 +137,16 @@ if($config['enable_syslog']) { echo("
|
||||
</li>
|
||||
"); }
|
||||
|
||||
if($_SESSION[userlevel] >= "5" && is_file($config['rancid_configs'] . $device['hostname'])) {
|
||||
echo("
|
||||
<li class=" . $select['showconfig'] . ">
|
||||
<a href='/device/" . $device['device_id'] . "/showconfig/'>
|
||||
<img src='images/16/page_white_text.png' align=absmiddle border=0> Config
|
||||
</a>
|
||||
</li>
|
||||
");
|
||||
}
|
||||
|
||||
if($_SESSION[userlevel] >= "5") {
|
||||
echo("
|
||||
<li class=" . $select['edit'] . ">
|
||||
|
||||
Reference in New Issue
Block a user