Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/includes/mambofunc.php
Parent Directory
|
Revision Log
|
Patch
| 66 |
* Deprecated - simply code the line below |
* Deprecated - simply code the line below |
| 67 |
*/ |
*/ |
| 68 |
function ampReplace( $text ) { |
function ampReplace( $text ) { |
| 69 |
return preg_replace('/(&)([^#]|$)/','&$2', $text); |
|
| 70 |
|
$text = str_replace( '&#', '*-*', $text ); |
| 71 |
|
$text = str_replace( '&', '&', $text ); |
| 72 |
|
$text = str_replace( '*-*', '&#', $text ); |
| 73 |
|
|
| 74 |
|
return $text; |
| 75 |
|
//return preg_replace('/(&)([^#]|$)/','&$2', $text); |
| 76 |
} |
} |
| 77 |
|
|
| 78 |
/** |
/** |
|
|
Legend:
| Removed from v.884 |
|
| changed lines |
| |
Added in v.892 |
|
|

Web Hosting provided by Network
Redux.