| @@ 354-364 (lines=11) @@ | ||
| 351 | $this->_errors[] = trim($err_str); |
|
| 352 | } |
|
| 353 | ||
| 354 | function getHtmlErrors() { |
|
| 355 | $ret = '<h4>Errors</h4>'; |
|
| 356 | if (!empty($this->_errors)) { |
|
| 357 | foreach ($this->_errors as $error) { |
|
| 358 | $ret .= $error.'<br />'; |
|
| 359 | } |
|
| 360 | } else { |
|
| 361 | $ret .= 'None<br />'; |
|
| 362 | } |
|
| 363 | return $ret; |
|
| 364 | } |
|
| 365 | } |
|
| 366 | ||
| 367 | ||
| @@ 743-753 (lines=11) @@ | ||
| 740 | $this->_errors[] = trim($err_str); |
|
| 741 | } |
|
| 742 | ||
| 743 | function getHtmlErrors() { |
|
| 744 | $ret = '<h4>Errors</h4>'; |
|
| 745 | if (!empty($this->_errors)) { |
|
| 746 | foreach ($this->_errors as $error) { |
|
| 747 | $ret .= $error.'<br />'; |
|
| 748 | } |
|
| 749 | } else { |
|
| 750 | $ret .= 'None<br />'; |
|
| 751 | } |
|
| 752 | return $ret; |
|
| 753 | } |
|
| 754 | } |
|
| 755 | ?> |
|