Rev 360 | Rev 400 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 360 | Rev 386 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | return null; |
78 | return null; |
79 | 79 | ||
80 | 80 | ||
81 | // --- Old code --- |
81 | // --- Old code --- |
82 | 82 | ||
- | 83 | /* |
|
83 | // Attention: document.write() JavaScript will damage the browser cache, which leads to bugs if you navigate back&forth with the browser navigation |
84 | // Attention: document.write() JavaScript will damage the browser cache, which leads to bugs if you navigate back&forth with the browser navigation |
84 | 85 | |
|
- | 86 | $crypt_linktext = true; |
|
- | 87 | ||
85 | // No new lines to avoid a JavaScript error! |
88 | // No new lines to avoid a JavaScript error! |
86 | $linktext = str_replace("\r", ' ', $linktext); |
89 | $linktext = str_replace("\r", ' ', $linktext); |
87 | $linktext = str_replace("\n", ' ', $linktext); |
90 | $linktext = str_replace("\n", ' ', $linktext); |
88 | 91 | ||
89 | if (!function_exists('alas_js_crypt')) |
92 | if (!function_exists('alas_js_crypt')) |
Line 122... | Line 125... | ||
122 | } |
125 | } |
123 | 126 | ||
124 | if ($crypt_linktext) $linktext = str_replace('@', '&', $linktext); |
127 | if ($crypt_linktext) $linktext = str_replace('@', '&', $linktext); |
125 | $email = str_replace('@', '&', $email); |
128 | $email = str_replace('@', '&', $email); |
126 | return $aus.'<noscript>'.htmlentities($linktext).' ('.htmlentities($email).')</noscript>'; |
129 | return $aus.'<noscript>'.htmlentities($linktext).' ('.htmlentities($email).')</noscript>'; |
- | 130 | |
|
- | 131 | */ |
|
127 | } |
132 | } |
128 | 133 | ||
129 | public static function sendMail($to, $title, $msg, $cc='', $bcc='') { |
134 | public static function sendMail($to, $title, $msg, $cc='', $bcc='') { |
130 | $h = new SecureMailer(); |
135 | $h = new SecureMailer(); |
131 | 136 |