Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, November 13, 2026

Diff for Metafox/subst.inc.php between version 1.23 and 1.24

version 1.23, 2007/01/16 23:06:46 version 1.24, 2007/01/17 10:03:26
Line 316  if ($ezin_tmpl_main->isVar('section_item
Line 316  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 != '')) { /* {{{ */
         $cache_id   = $ezin_db_section != '' ? 'S'.@$ezin_db_section['section_id'].$ezin_tmpl_key          $list_var_keep = $ezin_cgi['output'] != 'section';
           $cache_id   = $ezin_db_section != ''
                   ? '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;
         $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;
Line 326  if ($ezin_tmpl_main->isVar('article_item
Line 328  if ($ezin_tmpl_main->isVar('article_item
                 $item = new HTML_Template_Platon($ezin_sys['tmpl']['article_item'].$ezin_tmpl_key,                  $item = new HTML_Template_Platon($ezin_sys['tmpl']['article_item'].$ezin_tmpl_key,
                                 /* article_items on article page? strange, but it *should* work,                                  /* article_items on article page? strange, but it *should* work,
                                    so we are going to save article variables before article_items vars */                                     so we are going to save article variables before article_items vars */
                                 $ezin_cgi['output'] == 'article'                                  $list_var_keep ? HTML_TEMPLATE_PLATON_METHOD_VAR_KEEP : HTML_TEMPLATE_PLATON_METHOD_NORMAL);
                                 ? HTML_TEMPLATE_PLATON_METHOD_VAR_KEEP  
                                 : HTML_TEMPLATE_PLATON_METHOD_NORMAL);  
                 $cache_ar['var_var'] = $item->isVar('article_accesses_count')                  $cache_ar['var_var'] = $item->isVar('article_accesses_count')
                                                         || $item->isVar('article_sessions_count')                                                          || $item->isVar('article_sessions_count')
                                                         || $item->isVar('article_message_count');                                                          || $item->isVar('article_message_count');

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top