Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/lib/HTML/Template/Platon.php between version 1.1 and 1.2

version 1.1, 2005/06/05 12:14:18 version 1.2, 2006/04/20 12:06:15
Line 207  class HTML_Template_Platon
Line 207  class HTML_Template_Platon
                                         $this->set($k, $v, $type);                                          $this->set($k, $v, $type);
                                 }                                  }
                         }                          }
                   } else if (is_array($value)) {
                           die(sprintf('<b>HTML_Template_Platon ERROR</b>: $value in set(%s) is an array', $key));
                 } else {                  } else {
                         if ($type == HTML_TEMPLATE_PLATON_SET_CODE) {                          if ($type == HTML_TEMPLATE_PLATON_SET_CODE) {
                                 $this->_set_vars[$key] = array('ob_start();'.$value.'$'.$key.'=ob_get_contents();ob_end_clean();');                                  $this->_set_vars[$key] = array('ob_start();'.$value.'$'.$key.'=ob_get_contents();ob_end_clean();');
Line 222  class HTML_Template_Platon
Line 224  class HTML_Template_Platon
                         } elseif ($type == HTML_TEMPLATE_PLATON_SET_VAR) {                          } elseif ($type == HTML_TEMPLATE_PLATON_SET_VAR) {
                                 $this->_set_vars[$key] = array('$'.$key.'=$'.$value.';');                                  $this->_set_vars[$key] = array('$'.$key.'=$'.$value.';');
                         } else { // HTML_TEMPLATE_PLATON_SET_VALUE                          } else { // HTML_TEMPLATE_PLATON_SET_VALUE
                                   //echo "SET_VALUE: $key = $value<br>\n";
                                 $this->_set_vars[$key] = $value;                                  $this->_set_vars[$key] = $value;
                         }                          }
                 }                  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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