Changeset 24951 for branches/czw_branch/cleanup/ippMonitor/raw/ipp.php
- Timestamp:
- Jul 30, 2009, 5:20:29 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippMonitor/raw/ipp.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk (added) merged: 24714-24742,24744-24784,24786-24798,24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24939
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/ippMonitor/raw/ipp.php
r23419 r24951 412 412 } 413 413 414 function check_restrict ($key, $where, $mode ) {414 function check_restrict ($key, $where, $mode, $scale) { 415 415 $htmlkey = preg_replace ('|\.|', '_', $key); 416 416 if ($mode == 'min') { … … 431 431 } else { 432 432 $where = "WHERE"; 433 } 434 435 if ($scale != 1.0) { 436 $fvalue = $value * $scale; 437 } else { 438 $fvalue = $value; 433 439 } 434 440 … … 439 445 if ($mode == 'min') { 440 446 // can we pass the '%' through the html? 441 $where = $where . " $key >= '$ value'";447 $where = $where . " $key >= '$fvalue'"; 442 448 } 443 449 if ($mode == 'max') { 444 450 // can we pass the '%' through the html? 445 $where = $where . " $key <= '$ value'";451 $where = $where . " $key <= '$fvalue'"; 446 452 } 447 453 … … 613 619 if ($format == '%T') { 614 620 $format = '%s'; 621 } 622 if ($format == '%C') { 623 $format = '%10.6f'; 615 624 } 616 625 if ($format == '%t') {
Note:
See TracChangeset
for help on using the changeset viewer.
