Merge pull request #1611 from SaaldjorMike/remove-php-closing-tags

Remove php closing tags to fix scrut issues
This commit is contained in:
Paul Gear
2015-08-05 06:32:12 +10:00
11 changed files with 0 additions and 19 deletions

View File

@@ -83,4 +83,3 @@ if(!empty( $ok )) {
else { else {
die("ERROR: $error"); die("ERROR: $error");
} }
?>

View File

@@ -237,4 +237,3 @@ function twofactor_auth() {
} }
} }
} }
?>

View File

@@ -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);
} }
?>

View File

@@ -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);
} }
?>

View File

@@ -67,5 +67,3 @@ else {
} }
$pagetitle[] = "Settings"; $pagetitle[] = "Settings";
?>

View File

@@ -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");
?>

View File

@@ -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');
?>

View File

@@ -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');
?>

View File

@@ -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.");
} }
?>

View File

@@ -349,4 +349,3 @@ function GetContacts($results) {
} }
return $contacts; return $contacts;
} }
?>

View File

@@ -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']));
} }
?>