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.29 and 1.30

version 1.29, 2007/03/06 22:28:52 version 1.30, 2007/05/20 21:58:02
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.28 2007-02-24 19:27:03 nepto Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.29 2007-03-06 22:28:52 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 148  if ($ezin_cgi['author_id'] > 0 || $ezin_
Line 148  if ($ezin_cgi['author_id'] > 0 || $ezin_
         }          }
         $ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].'author';          $ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].'author';
 } /* }}} */  } /* }}} */
 else if ($ezin_cgi['section_id'] > 0 || $ezin_cgi['output'] == 'section') { /* {{{ */  
         $ezin_db_section = ezin_get_section($ezin_cgi['section_id']);  
         if (! empty($ezin_db_section['section_link']) && $ezin_cgi['output'] == 'section') {  
                 ezin_handle_section_link($ezin_db_section['section_link']);  
         }  
 $ezin_db_section['section_editorial_text']  = Platon::tilde_replace($ezin_db_section['section_editorial_text']);  
 $ezin_db_section['section_editorial_title'] = Platon::tilde_replace($ezin_db_section['section_editorial_title']);  
 } /* }}} */  
 if (! empty($ezin_cgi['article_id'])) { /* {{{ */  if (! empty($ezin_cgi['article_id'])) { /* {{{ */
         $ezin_db_article = ezin_get_article($ezin_cgi['article_id']);          $ezin_db_article = ezin_get_article($ezin_cgi['article_id']);
         if (! empty($ezin_db_article['article_template_key'])) {          if (! empty($ezin_db_article['article_template_key'])) {
                 $ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].$ezin_db_article['article_template_key'];                  $ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].$ezin_db_article['article_template_key'];
         }          }
 } /* }}} */  } /* }}} */
   /* {{{ section - always (at least editorial is fetched) */
   $ezin_db_section = ezin_get_section($ezin_cgi['section_id']);
   if (! empty($ezin_db_section['section_link']) && $ezin_cgi['output'] == 'section') {
           ezin_handle_section_link($ezin_db_section['section_link']);
   }
   $ezin_db_section['section_editorial_text'] =Platon::tilde_replace($ezin_db_section['section_editorial_text']);
   $ezin_db_section['section_editorial_title']=Platon::tilde_replace($ezin_db_section['section_editorial_title']);
   /* }}} */
   
 /*  /*
  * Main template object   * Main template object

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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