Rozdiely pre Metafox/functions.inc.php medzi verziami 1.106 a 1.107
| verzia 1.106, 2012/10/25 08:09:16 |
verzia 1.107, 2012/11/09 10:46:04 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.105 2012-10-10 15:56:17 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.106 2012-10-25 08:09:16 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Riadok 1950 function ezin_cgi_parse() /* {{{ */ |
|
| Riadok 1950 function ezin_cgi_parse() /* {{{ */ |
|
| $location = ezin_get_link('S', $ezin_cgi['section_id'], 1, @$ezin_cgi['lang']); |
$location = ezin_get_link('S', $ezin_cgi['section_id'], 1, @$ezin_cgi['lang']); |
| } |
} |
| } |
} |
| |
$success = 'thanks=1'; |
| |
if (strpos($location, '?') !== false) { |
| |
$location .= (substr($location, -1) == '?') ? $success : '&'.$success; |
| |
} else { |
| |
$location .= '?'.$success; |
| |
} |
| if (strlen(@$_POST['ezin_fragment']) > 0) { |
if (strlen(@$_POST['ezin_fragment']) > 0) { |
| $location .= '#'.$_POST['ezin_fragment']; |
$location .= '#'.$_POST['ezin_fragment']; |
| } |
} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|