| version 1.104, 2012/10/07 15:45:58 |
version 1.105, 2012/10/10 15:56:17 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.103 2012-10-02 08:38:24 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.104 2012-10-07 15:45:58 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 1470 function ezin_cgi_parse() /* {{{ */ |
|
| Line 1470 function ezin_cgi_parse() /* {{{ */ |
|
| if (empty($ezin_cgi['author_id'])) { |
if (empty($ezin_cgi['author_id'])) { |
| $ezin_cgi['author_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
$ezin_cgi['author_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
| } |
} |
| |
if (!empty($ezin_cgi['author_id'])) { |
| |
$ezin_cgi['output'] = $ezin_cgi['input']; |
| |
} |
| } |
} |
| break; |
break; |
| case 'section': |
case 'section': |
| Line 1478 function ezin_cgi_parse() /* {{{ */ |
|
| Line 1481 function ezin_cgi_parse() /* {{{ */ |
|
| if (empty($ezin_cgi['section_id'])) { |
if (empty($ezin_cgi['section_id'])) { |
| $ezin_cgi['section_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
$ezin_cgi['section_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
| } |
} |
| |
if (!empty($ezin_cgi['section_id'])) { |
| |
$ezin_cgi['output'] = $ezin_cgi['input']; |
| |
} |
| } |
} |
| break; |
break; |
| case 'article': |
case 'article': |
| Line 1487 function ezin_cgi_parse() /* {{{ */ |
|
| Line 1493 function ezin_cgi_parse() /* {{{ */ |
|
| if (empty($ezin_cgi['article_id'])) { |
if (empty($ezin_cgi['article_id'])) { |
| $ezin_cgi['article_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
$ezin_cgi['article_id'] = Platon::parse_id_param('key', $ezin_cgi['query_string']); |
| } |
} |
| |
if (!empty($ezin_cgi['article_id'])) { |
| |
$ezin_cgi['output'] = $ezin_cgi['input']; |
| |
} |
| } |
} |
| break; |
break; |
| case 'message': |
case 'message': |
| if (! isset($ezin_cgi['message_id']) || empty($ezin_cgi['message_id'])) { |
if (! isset($ezin_cgi['message_id']) || empty($ezin_cgi['message_id'])) { |
| $ezin_cgi['message_id'] = Platon::parse_id_param('id', $ezin_cgi['query_string']); |
$ezin_cgi['message_id'] = Platon::parse_id_param('id', $ezin_cgi['query_string']); |
| } |
} |
| |
if (!empty($ezin_cgi['message_id'])) { |
| |
$ezin_cgi['output'] = $ezin_cgi['input']; |
| |
} |
| break; |
break; |
| } |
} |
| |
|