Diff for Metafox/functions.inc.php between version 1.103 and 1.104
| version 1.103, 2012/10/02 08:38:24 |
version 1.104, 2012/10/07 15:45:58 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.102 2012-10-02 08:25:14 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.103 2012-10-02 08:38:24 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2242 function ezin_redirect_print($article_id |
|
| Line 2242 function ezin_redirect_print($article_id |
|
| ezin_redirect_special($redirect); |
ezin_redirect_special($redirect); |
| } |
} |
| |
|
| |
function ezin_redirect_auto($ar) { |
| |
if (isset($ar['article_id']) |
| |
&& intval($ar['article_id']) > 0) |
| |
{ |
| |
return ezin_redirect_article($ar['article_id']); |
| |
} |
| |
if (isset($ar['section_id']) |
| |
&& intval($ar['section_id']) > 0) |
| |
{ |
| |
return ezin_redirect_section($ar['section_id']); |
| |
} |
| |
if (isset($ar['author_id']) |
| |
&& intval($ar['author_id']) > 0) |
| |
{ |
| |
return ezin_redirect_author($ar['author_id']); |
| |
} |
| |
} |
| |
|
| /* Modeline for ViM {{{ |
/* Modeline for ViM {{{ |
| * vim: set ts=4: |
* vim: set ts=4: |
| * vim600: fdm=marker fdl=0 fdc=0: |
* vim600: fdm=marker fdl=0 fdc=0: |
Platon Group <platon@platon.org> http://platon.org/
|
|