| version 1.114, 2013/09/02 16:18:06 |
version 1.115, 2013/09/02 16:28:52 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.113 2013-09-02 13:30:19 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.114 2013-09-02 16:18:06 igor Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 2369 function ezin_get_htmlmap($lang = null) |
|
| Line 2369 function ezin_get_htmlmap($lang = null) |
|
| global $ezin_cfg; |
global $ezin_cfg; |
| $cache_id = (strlen($lang) > 0) ? 'ezin_htmlmap_'.$lang : 'ezin_htmlmap'; |
$cache_id = (strlen($lang) > 0) ? 'ezin_htmlmap_'.$lang : 'ezin_htmlmap'; |
| $cache_ar = ezin_cache_load($cache_id); |
$cache_ar = ezin_cache_load($cache_id); |
| if (intval($cache_ar['timestamp']) <= 0 || 1==1) { |
if (intval($cache_ar['timestamp']) <= 0) { |
| $host = 'http://'.$_SERVER['HTTP_HOST']; |
$host = 'http://'.$_SERVER['HTTP_HOST']; |
| $ret = '<ul class="htmlmap-root">'."\n"; |
$ret = '<ul class="htmlmap-root">'."\n"; |
| $articles = ezin_get_available_articles($lang); |
$articles = ezin_get_available_articles($lang); |
| Line 2405 function ezin_get_htmlmap($lang = null) |
|
| Line 2405 function ezin_get_htmlmap($lang = null) |
|
| } |
} |
| $ret .= "\t".'</li>'."\n"; |
$ret .= "\t".'</li>'."\n"; |
| } |
} |
| if (is_array($articles_html)) { // Last |
if (is_array($articles_html) |
| |
&& count($articles_html) > 0) |
| |
{ // Last |
| $ret .= |
$ret .= |
| "\t".'<li class="htmlmap-root-item">'."\n" |
"\t".'<li class="htmlmap-root-item">'."\n" |
| ."\t\t".$ezin_cfg['name']."\n"; |
."\t\t".$ezin_cfg['name']."\n"; |