ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/graphs/graphs_config.inc.php
(Generate patch)

Comparing projects/cms/source/reports/php/graphs/graphs_config.inc.php (file contents):
Revision 1.6 by tdb, Fri Feb 11 14:05:30 2005 UTC vs.
Revision 1.8 by tdb, Wed Jun 29 10:26:39 2005 UTC

# Line 60 | Line 60 | function tidyName($machine_name, $string) {
60      $hex_colon = "_3A";
61      # \ converted to a decimal then hex'd
62      $hex_bslash = "_5C";
63 +    # ( converted to a decimal then hex'd
64 +    $hex_rbracket = "_28";
65 +    # ) converted to a decimal then hex'd
66 +    $hex_lbracket = "_29";
67 +    # + converted to a decimal then hex'd
68 +    $hex_plus = "_2B";
69 +    # # converted to a decimal then hex'd
70 +    $hex_hash = "_23";
71      
72      # The name Disk information should be displayed as
73      if(preg_match("/^disk-(\S+)$/", $string, $matches)) {
# Line 88 | Line 96 | function tidyName($machine_name, $string) {
96          $string = preg_replace("/$hex_bslash/", "\\", $string);
97          $string = preg_replace("/$hex_space/", " ", $string);
98          $string = preg_replace("/$hex_colon/", ":", $string);
99 +        $string = preg_replace("/$hex_lbracket/", "(", $string);
100 +        $string = preg_replace("/$hex_rbracket/", ")", $string);
101 +        $string = preg_replace("/$hex_plus/", "+", $string);
102 +        $string = preg_replace("/$hex_hash/", "#", $string);
103          return "Network IO: $string";
104      }
105  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines