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.53 and 1.54

version 1.53, 2012/09/28 18:49:48 version 1.54, 2012/10/09 12:35:23
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.52 2012-09-28 16:23:20 igor Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.53 2012-09-28 18:49:48 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 584  if (count($boxes) > 0) {
Line 584  if (count($boxes) > 0) {
         $boxes_val = ezin_get_boxes($boxes);          $boxes_val = ezin_get_boxes($boxes);
         foreach($boxes_val as $val) {          foreach($boxes_val as $val) {
                 $cache_id = $box_prefix.$ezin_cfg['theme']['name'].'_'.$val['name'];                  $cache_id = $box_prefix.$ezin_cfg['theme']['name'].'_'.$val['name'];
                 ezin_handle_special_tags($val['bodytext']);                  $bodytext = $val['bodytext'];
                   ezin_handle_special_tags($bodytext);
                   ezin_process_text_flags($bodytext, 'article_bodytext');
                   $bodytext = Platon::tilde_replace($bodytext);
                 $template_key = (strlen($val['template_key']) > 0) ? '.'.$val['template_key'] : '';                  $template_key = (strlen($val['template_key']) > 0) ? '.'.$val['template_key'] : '';
                 $box = new HTML_Template_Platon($ezin_sys['tmpl']['box'].$template_key,                  $box = new HTML_Template_Platon($ezin_sys['tmpl']['box'].$template_key,
                                 HTML_TEMPLATE_PLATON_METHOD_VAR_KEEP);                                  HTML_TEMPLATE_PLATON_METHOD_VAR_KEEP);
                 $box->set('bodytext', $val['bodytext']);                  $box->set('bodytext', $bodytext);
                 $output = $box->getCode();                  $output = $box->getCode();
                 ezin_cache_save($cache_id, $output);                  ezin_cache_save($cache_id, $output);
                 $ezin_tmpl_main->setCode($box_prefix.$val['name'], $output);                  $ezin_tmpl_main->setCode($box_prefix.$val['name'], $output);

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

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