| version 1.126, 2013/12/03 09:40:09 |
version 1.127, 2014/01/02 11:02:26 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.125 2013-11-21 14:41:34 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.126 2013-12-03 09:40:09 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2070 function ezin_get_antispam() { |
|
| Line 2070 function ezin_get_antispam() { |
|
| } |
} |
| $submit_name = 'ezin_save_feedback'; |
$submit_name = 'ezin_save_feedback'; |
| if (strlen(Platon::parse_id_param('ezin_save_message', false)) > 0 |
if (strlen(Platon::parse_id_param('ezin_save_message', false)) > 0 |
| || strlen(Platon::parse_id_param('ezin_add_new', false)) > 0) |
|| strlen(Platon::parse_id_param('ezin_add_new', false)) > 0 |
| |
|| in_array($ezin_cgi['input'], array('message', 'message_edit', 'message_full_list', 'message_selected_list'))) |
| { |
{ |
| $submit_name = 'ezin_save_message'; |
$submit_name = 'ezin_save_message'; |
| } |
} |
| if (strlen(Platon::parse_id_param('ezin_save_author', false)) > 0) { |
if (strlen(Platon::parse_id_param('ezin_save_author', false)) > 0 |
| |
|| in_array($ezin_cgi['input'], array('author', 'author_edit'))) |
| |
{ |
| $submit_name = 'ezin_save_author'; |
$submit_name = 'ezin_save_author'; |
| } |
} |
| $ret = array(); |
$ret = array(); |
| Line 2355 function ezin_redirect_print($article_id |
|
| Line 2358 function ezin_redirect_print($article_id |
|
| break; |
break; |
| } |
} |
| ezin_redirect_special($redirect); |
ezin_redirect_special($redirect); |
| |
} |
| |
|
| |
function ezin_redirect_message($message_id, $type = null) { |
| |
global $ezin_cfg; |
| |
if ($type == null) { |
| |
$type = $ezin_cfg['link_file_type']; |
| |
} |
| |
switch($type) { |
| |
case 0: |
| |
$redirect = $ezin_cfg['url'].'index.php?ezin_message_id='.$message_id; |
| |
break; |
| |
case 1: |
| |
$redirect = $ezin_cfg['url'].'message.php?'.$message_id; |
| |
break; |
| |
case 2: |
| |
$redirect = $ezin_cfg['url'].ezin_get_rewrite_action('message').'/'.$message_key; |
| |
break; |
| |
} |
| |
ezin_redirect_special($redirect); |
| } |
} |
| |
|
| function ezin_redirect_auto($ar) { |
function ezin_redirect_auto($ar) { |