mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #1611 from SaaldjorMike/remove-php-closing-tags
Remove php closing tags to fix scrut issues
This commit is contained in:
@@ -83,4 +83,3 @@ if(!empty( $ok )) {
|
|||||||
else {
|
else {
|
||||||
die("ERROR: $error");
|
die("ERROR: $error");
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
@@ -237,4 +237,3 @@ function twofactor_auth() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
@@ -75,5 +75,3 @@ function meta_graph_local($host, $plugin, $plugin_instance, $type, $type_instanc
|
|||||||
// return collectd_draw_meta_stack($opts, $sources);
|
// return collectd_draw_meta_stack($opts, $sources);
|
||||||
return collectd_draw_meta_line($opts, $sources);
|
return collectd_draw_meta_line($opts, $sources);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -2091,5 +2091,3 @@ function meta_graph_tcp_connections($host, $plugin, $plugin_instance, $type, $ty
|
|||||||
|
|
||||||
return collectd_draw_meta_stack($opts, $sources);
|
return collectd_draw_meta_stack($opts, $sources);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -67,5 +67,3 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$pagetitle[] = "Settings";
|
$pagetitle[] = "Settings";
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -71,5 +71,3 @@ require 'overview/syslog.inc.php';
|
|||||||
echo('</div></div></div>');
|
echo('</div></div></div>');
|
||||||
|
|
||||||
#require 'overview/current.inc.php");
|
#require 'overview/current.inc.php");
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -6,5 +6,3 @@ $sensor_unit = "A";
|
|||||||
$sensor_type = "Current";
|
$sensor_type = "Current";
|
||||||
|
|
||||||
include('pages/device/overview/generic/sensor.inc.php');
|
include('pages/device/overview/generic/sensor.inc.php');
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -6,5 +6,3 @@ $sensor_unit = "%";
|
|||||||
$sensor_type = "Humidity";
|
$sensor_type = "Humidity";
|
||||||
|
|
||||||
include('pages/device/overview/generic/sensor.inc.php');
|
include('pages/device/overview/generic/sensor.inc.php');
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -100,5 +100,3 @@ if (in_array($vars['metric'],array_keys($used_sensors))
|
|||||||
else {
|
else {
|
||||||
echo("No sensors of type " . $vars['metric'] . " found.");
|
echo("No sensors of type " . $vars['metric'] . " found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -349,4 +349,3 @@ function GetContacts($results) {
|
|||||||
}
|
}
|
||||||
return $contacts;
|
return $contacts;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
@@ -20,5 +20,3 @@ if ($ifOperStatus != $interface['ifOperStatus']) {
|
|||||||
log_event("Interface went Up : " . $interface['ifDescr'] . " (TRAP)", $device, "interface", $interface['port_id']);
|
log_event("Interface went Up : " . $interface['ifDescr'] . " (TRAP)", $device, "interface", $interface['port_id']);
|
||||||
dbUpdate(array('ifOperStatus' => 'up'), 'ports', 'port_id=?',array($interface['port_id']));
|
dbUpdate(array('ifOperStatus' => 'up'), 'ports', 'port_id=?',array($interface['port_id']));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
Reference in New Issue
Block a user