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

Diff for phpPlatonLib/HTML_Template_Platon/Platon.php between version 1.4 and 1.5

version 1.4, 2003/02/10 17:45:45 version 1.5, 2006/04/20 11:42:56
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.4  
changed lines
  Added in v.1.5

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