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.22 and 1.23

version 1.22, 2006/09/23 09:51:45 version 1.23, 2007/01/16 23:06:46
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.21 2006-09-23 01:25:25 nepto Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.22 2006-09-23 09:51:45 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 323  if ($ezin_tmpl_main->isVar('article_item
Line 323  if ($ezin_tmpl_main->isVar('article_item
         $author_id  = $ezin_db_author  != '' ? $ezin_db_author['search'] : '';          $author_id  = $ezin_db_author  != '' ? $ezin_db_author['search'] : '';
         $limit      = $ezin_db_section != '' ? intval($ezin_db_section['section_limit']) : 0;          $limit      = $ezin_db_section != '' ? intval($ezin_db_section['section_limit']) : 0;
         if (intval($cache_ar['timestamp']) <= 0) {          if (intval($cache_ar['timestamp']) <= 0) {
                 $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,
                                      so we are going to save article variables before article_items vars */
                                   $ezin_cgi['output'] == 'article'
                                   ? 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.22  
changed lines
  Added in v.1.23

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