Changeset 0795344ef2137f13c7fab96b14d3363fa9ee165d for ui/web
- Timestamp:
- 05/14/08 22:07:42 (5 years ago)
- git-parent:
- Files:
-
- ui/web/htdocs/generic_settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ui/web/htdocs/generic_settings.php
r75fdd0c r0795344 16 16 17 17 foreach(split(",", $_GET['metric']) as $m) { 18 preg_match('/^( n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m,18 preg_match('/^(d|n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m, 19 19 $matches); 20 20 if($matches[1] == 'n') 21 21 $driver->addDataSet($matches[2], $matches[3], 'false', null, array('expression' => '$this->bw($value)')); 22 else if($matches[1] == 'd') 23 $driver->addDataSet($matches[2], $matches[3], 'true', null, array('expression' => '$this->bw($value)')); 22 24 else 23 25 $driver->addChangeSet($matches[2], $matches[3]);
