@@ 1611-1628 (lines=18) @@ | ||
1608 | } |
|
1609 | } |
|
1610 | ||
1611 | function emailcnvrt($email) |
|
1612 | { |
|
1613 | $search = array( |
|
1614 | "/\@/", |
|
1615 | "/\./", |
|
1616 | "/\mailto:/", |
|
1617 | ); |
|
1618 | ||
1619 | $replace = array( |
|
1620 | " AT ", |
|
1621 | " DOT ", |
|
1622 | "", |
|
1623 | ); |
|
1624 | ||
1625 | $text = preg_replace($search, $replace, $email); |
|
1626 | ||
1627 | return $text; |
|
1628 | } |
|
1629 | ||
1630 | function printemailcnvrt($email) |
|
1631 | { |
|
@@ 1630-1645 (lines=16) @@ | ||
1627 | return $text; |
|
1628 | } |
|
1629 | ||
1630 | function printemailcnvrt($email) |
|
1631 | { |
|
1632 | $search = array ( |
|
1633 | "/\ AT /", |
|
1634 | "/\ DOT /", |
|
1635 | ); |
|
1636 | ||
1637 | $replace = array ( |
|
1638 | "@", |
|
1639 | ".", |
|
1640 | ); |
|
1641 | ||
1642 | $text = preg_replace($search, $replace, $email); |
|
1643 | ||
1644 | return $text; |
|
1645 | } |
|
1646 | ||
1647 | function wfl_substr($str, $start, $length, $trimmarker = '...') |
|
1648 | { |
@@ 40-55 (lines=16) @@ | ||
37 | { |
|
38 | return str_replace(";","\;",$string); |
|
39 | } |
|
40 | function vcardemailcnvrt($email) |
|
41 | { |
|
42 | $search = array ( |
|
43 | "/\ AT /", |
|
44 | "/\ DOT /", |
|
45 | ); |
|
46 | ||
47 | $replace = array ( |
|
48 | "@", |
|
49 | ".", |
|
50 | ); |
|
51 | ||
52 | $text = preg_replace($search, $replace, $email); |
|
53 | ||
54 | return $text; |
|
55 | } |
|
56 | // taken from PHP documentation comments |
|
57 | function vcard_quoted_printable_encode($input, $line_max = 76) |
|
58 | { |