Diff for Metafox/functions.inc.php between version 1.121 and 1.122
| version 1.121, 2013/11/13 12:02:56 |
version 1.122, 2013/11/13 12:09:53 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.120 2013-10-17 18:29:43 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.121 2013-11-13 12:02:56 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 1482 function ezin_substitute_basic_propertie |
|
| Line 1482 function ezin_substitute_basic_propertie |
|
| preg_match_all('|(\w\w)[^\(]*\(([^\)]*)\)|', $ezin_cfg['http_host_language'], $matches); |
preg_match_all('|(\w\w)[^\(]*\(([^\)]*)\)|', $ezin_cfg['http_host_language'], $matches); |
| foreach ($matches[1] as $index => $lang) { |
foreach ($matches[1] as $index => $lang) { |
| $hosts = preg_split('/(\s+|\xc2\xa0)/', $matches[2][$index]); |
$hosts = preg_split('/(\s+|\xc2\xa0)/', $matches[2][$index]); |
| $tmpl_obj->set('ezin_lang_'.$ezin_lang_key.'_host', $hosts[0]); |
$tmpl_obj->set('ezin_lang_'.$lang.'_host', $hosts[0]); |
| } |
} |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|