# | Line 48 | Line 48 | function tidyName($machine_name, $string) { | |
---|---|---|
48 | # The name Disk information should be displayed as | |
49 | if(preg_match("/^disk-(\S+)$/", $string, $matches)) { | |
50 | $string = preg_replace("/$hex_slash/", "/", $matches[1]); | |
51 | < | $string = preg_replace("/$hex_underscore/", "#", $string); |
51 | > | $string = preg_replace("/$hex_underscore/", "_", $string); |
52 | return "Disk usage: $string"; | |
53 | } | |
54 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |