| version 1.30, 2007/05/20 21:58:02 |
version 1.31, 2007/06/24 23:16:27 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.29 2007-03-06 22:28:52 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.30 2007-05-20 21:58:02 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 327 if ($ezin_tmpl_main->isVar('section_item |
|
| Line 327 if ($ezin_tmpl_main->isVar('section_item |
|
| |
|
| if ($ezin_tmpl_main->isVar('article_items') && ($ezin_db_section != '' || $ezin_db_author != '')) { /* {{{ */ |
if ($ezin_tmpl_main->isVar('article_items') && ($ezin_db_section != '' || $ezin_db_author != '')) { /* {{{ */ |
| $list_var_keep = $ezin_cgi['output'] != 'section'; |
$list_var_keep = $ezin_cgi['output'] != 'section'; |
| $cache_id = $ezin_db_section != '' |
$cache_id = $ezin_db_author != '' |
| ? 'S'.@$ezin_db_section['section_id'].$ezin_tmpl_key.($list_var_keep ? '-VarKeep' : '') |
? 'U'.@$ezin_db_author['author_id'].@$ezin_cgi['lang'].$ezin_tmpl_key |
| : 'U'.@$ezin_db_author['author_id'].@$ezin_cgi['lang'].$ezin_tmpl_key; |
: 'S'.@$ezin_db_section['section_id'].$ezin_tmpl_key.($list_var_keep ? '-VarKeep' : ''); |
| $cache_ar = ezin_cache_load($cache_id); |
$cache_ar = ezin_cache_load($cache_id); |
| $section_id = $ezin_db_section != '' && $ezin_db_section['section_type'] != 'global' ? $ezin_db_section['section_id'] : 0; |
$section_id = $ezin_db_section != '' && $ezin_db_section['section_type'] != 'global' ? $ezin_db_section['section_id'] : 0; |
| $author_id = $ezin_db_author != '' ? $ezin_db_author['search'] : ''; |
$author_id = $ezin_db_author != '' ? $ezin_db_author['search'] : ''; |