@@ 366-384 (lines=19) @@ | ||
363 | ||
364 | $replace['$zip'] = $replace['$postcode']; |
|
365 | ||
366 | if ($html) { |
|
367 | // HTML Mode |
|
368 | $HR = '<hr />'; |
|
369 | $hr = '<hr />'; |
|
370 | if ( ($boln == '') && ($eoln == "\n") ) { // Values not specified, use rational defaults |
|
371 | $CR = '<br />'; |
|
372 | $cr = '<br />'; |
|
373 | $eoln = $cr; |
|
374 | } else { // Use values supplied |
|
375 | $CR = $eoln . $boln; |
|
376 | $cr = $CR; |
|
377 | } |
|
378 | } else { |
|
379 | // Text Mode |
|
380 | $CR = $eoln; |
|
381 | $cr = $CR; |
|
382 | $HR = '----------------------------------------'; |
|
383 | $hr = '----------------------------------------'; |
|
384 | } |
|
385 | ||
386 | $replace['$CR'] = $CR; |
|
387 | $replace['$cr'] = $cr; |
@@ 462-480 (lines=19) @@ | ||
459 | ||
460 | $replace['$zip'] = $replace['$postcode']; |
|
461 | ||
462 | if ($html) { |
|
463 | // HTML Mode |
|
464 | $HR = '<hr />'; |
|
465 | $hr = '<hr />'; |
|
466 | if ( ($boln == '') && ($eoln == "\n") ) { // Values not specified, use rational defaults |
|
467 | $CR = '<br />'; |
|
468 | $cr = '<br />'; |
|
469 | $eoln = $cr; |
|
470 | } else { // Use values supplied |
|
471 | $CR = $eoln . $boln; |
|
472 | $cr = $CR; |
|
473 | } |
|
474 | } else { |
|
475 | // Text Mode |
|
476 | $CR = $eoln; |
|
477 | $cr = $CR; |
|
478 | $HR = '----------------------------------------'; |
|
479 | $hr = '----------------------------------------'; |
|
480 | } |
|
481 | ||
482 | $replace['$CR'] = $CR; |
|
483 | $replace['$cr'] = $cr; |