mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
# -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+3
-3
@@ -47,7 +47,7 @@ if (is_array($config['branding']))
|
||||
|
||||
if (isset($_GET['device'])) { $where = "WHERE device_id = ".mres($_GET['device']); } else { $where = ""; }
|
||||
|
||||
## FIXME this shit probably needs tidied up.
|
||||
/// FIXME this shit probably needs tidied up.
|
||||
|
||||
if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
{
|
||||
@@ -197,7 +197,7 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
$_GET['format'] = 'png:gd';
|
||||
}
|
||||
|
||||
if ($links > 30) ### Unflatten if there are more than 10 links. beyond that it gets messy
|
||||
if ($links > 30) /// Unflatten if there are more than 10 links. beyond that it gets messy
|
||||
{
|
||||
# $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Gcharset=latin1 | '.$config['dot'];
|
||||
$maptool = $config['neato'];
|
||||
@@ -239,7 +239,7 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($_SESSION['authenticated']) ## FIXME level 10 only?
|
||||
if ($_SESSION['authenticated']) /// FIXME level 10 only?
|
||||
{
|
||||
echo('<center>
|
||||
<object width=1200 height=1000 data="'. $config['base_url'] . '/map.php?format=svg" type="image/svg+xml">
|
||||
|
||||
Reference in New Issue
Block a user