mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added new function to tidy up for bootgrid output
This commit is contained in:
@@ -744,4 +744,12 @@ function shorten_interface_type($string) {
|
||||
);
|
||||
}
|
||||
|
||||
function clean_bootgrid($string) {
|
||||
|
||||
$output = str_replace(array("\r","\n"), "", $string);
|
||||
$output = addslashes($output);
|
||||
return $output;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user