Diff for Metafox/functions.inc.php between version 1.62 and 1.63
| version 1.62, 2007/04/22 15:37:53 |
version 1.63, 2007/04/29 13:12:24 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.61 2007-04-01 20:43:56 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.62 2007-04-22 15:37:53 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 52 function ezin_process_text_flags(&$str, |
|
| Line 52 function ezin_process_text_flags(&$str, |
|
| "\\1<a href=\"http://www.\\2.\\3\\4\" target=\"_blank\">www.\\2.\\3\\4</a>", $str); |
"\\1<a href=\"http://www.\\2.\\3\\4\" target=\"_blank\">www.\\2.\\3\\4</a>", $str); |
| |
|
| $email_substs && $str = preg_replace( |
$email_substs && $str = preg_replace( |
| "#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)#i", |
"#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)#ie", |
| "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $str); |
'\'\\1\'.Platon::escape_email(\'\\2@\\3\', \'hypertext_link\')', $str); |
| |
|
| if ($line_wrap_p) { |
if ($line_wrap_p) { |
| if ($special) { |
if ($special) { |
Platon Group <platon@platon.org> http://platon.org/
|
|