| version 1.77, 2008/03/06 11:10:59 |
version 1.78, 2008/07/29 16:13:39 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.76 2008-03-06 11:07:47 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.77 2008-03-06 11:10:59 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 1568 function ezin_cgi_parse() /* {{{ */ |
|
| Line 1568 function ezin_cgi_parse() /* {{{ */ |
|
| continue; |
continue; |
| } |
} |
| if (preg_match('|^ezin_(.+)$|', $key, $matches)) { |
if (preg_match('|^ezin_(.+)$|', $key, $matches)) { |
| $data[$matches[1]] = stripslashes($val); |
$data[$matches[1]] = htmlspecialchars(stripslashes($val)); |
| } |
} |
| } |
} |
| $data['username'] = $ezin_user['username']; |
if (strlen($ezin_user['username']) > 0) { |
| $data['author_id'] = $ezin_user['author_id']; |
$data['username'] = $ezin_user['username']; |
| |
$data['author_id'] = $ezin_user['author_id']; |
| |
} |
| ezin_author_send_notify_email($data); |
ezin_author_send_notify_email($data); |
| if (ezin_save_author($data)) { |
if (ezin_save_author($data)) { |
| $ezin_cgi['author_save_ok'] = 1; |
$ezin_cgi['author_save_ok'] = 1; |