mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #470 from laf/issue-laf-117
Added telnet/ssh/https links to device pages
This commit is contained in:
@@ -367,6 +367,10 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
</li>');
|
||||
}
|
||||
|
||||
echo ('<li style="float: right;"><a href="https://' . $device['hostname'] . '"><img src="images/16/http.png" alt="https" border="0" width="16" height="16" target="_blank"></a></li>
|
||||
<li style="float: right;"><a href="ssh://' . $device['hostname'] . '"><img src="images/16/ssh.png" alt="ssh" border="0" width="16" height="16"></a></li>
|
||||
<li style="float: right;"><a href="telnet://' . $device['hostname'] . '"><img src="images/16/telnet.png" alt="telnet" border="0" width="16" height="16"></a></li>');
|
||||
|
||||
if ($_SESSION['userlevel'] >= "7")
|
||||
{
|
||||
echo('<li class="' . $select['edit'] . '" style="float: right;">
|
||||
|
Reference in New Issue
Block a user