Commit e5ea9483 authored by Ingmar Schlecht's avatar Ingmar Schlecht
Browse files

* Minor change to spamProtectEmailAddresses ASCII


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@628 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 2f1bd387
2005-04-13 Ingmar Schlecht <ingmar@typo3.org>
* Cleaned up tslib_content by putting some lines of redundant code into new function getMailTo()
* Minor change to spamProtectEmailAddresses ASCII
2005-04-13 Karsten Dambekalns <karsten@typo3.org>
......
......@@ -3043,7 +3043,7 @@ if (version == "n3") {
function encryptEmail($string,$back=0) {
$out = '';
if ($this->spamProtectEmailAddresses == 'ascii') {
if ($this->spamProtectEmailAddresses === 'ascii') {
for ($a=0; $a<strlen($string); $a++) {
$out .= '&#'.ord(substr($string, $a, 1)).';';
}
......
......@@ -133,7 +133,7 @@ class TSpagegen {
// Internal and External target defaults
$GLOBALS['TSFE']->intTarget = ''.$GLOBALS['TSFE']->config['config']['intTarget'];
$GLOBALS['TSFE']->extTarget = ''.$GLOBALS['TSFE']->config['config']['extTarget'];
if ($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses'] == 'ascii') {
if ($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses'] === 'ascii') {
$GLOBALS['TSFE']->spamProtectEmailAddresses = 'ascii';
} else {
$GLOBALS['TSFE']->spamProtectEmailAddresses = t3lib_div::intInRange($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses'],-5,5,0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment