|
@@ 55-57 (lines=3) @@
|
| 52 |
|
{ |
| 53 |
|
$lpad = $rpad = 0; |
| 54 |
|
$lspace = $chars = $rspace = ''; |
| 55 |
|
if ($timer['start'] > $this->_min) { |
| 56 |
|
$lpad = intval(($timer['start'] - $this->_min) / $this->_step); |
| 57 |
|
} |
| 58 |
|
if ($timer['end'] < $this->_max) { |
| 59 |
|
$rpad = intval(($this->_max - $timer['end']) / $this->_step); |
| 60 |
|
} |
|
@@ 58-60 (lines=3) @@
|
| 55 |
|
if ($timer['start'] > $this->_min) { |
| 56 |
|
$lpad = intval(($timer['start'] - $this->_min) / $this->_step); |
| 57 |
|
} |
| 58 |
|
if ($timer['end'] < $this->_max) { |
| 59 |
|
$rpad = intval(($this->_max - $timer['end']) / $this->_step); |
| 60 |
|
} |
| 61 |
|
$mpad = $this->_width - $lpad - $rpad; |
| 62 |
|
if ($lpad > 0) { |
| 63 |
|
$lspace = str_repeat(' ', $lpad); |