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.7 and 1.8

version 1.7, 2007/09/16 20:51:24 version 1.8, 2017/06/08 16:13:35
Line 31  class HTML_Template_Platon
Line 31  class HTML_Template_Platon
                         'begin'     => '<!--',                          'begin'     => '<!--',
                         'end'       => '-->',                          'end'       => '-->',
                         'classname' => 'HTML_Template_Platon',                          'classname' => 'HTML_Template_Platon',
                         'version'   => '0.4'                          'version'   => '0.5'
                         );                          );
   
         var $_tag = array(          var $_tag = array(
Line 52  class HTML_Template_Platon
Line 52  class HTML_Template_Platon
         var $_debug     = 1;          var $_debug     = 1;
         var $_prepended = 0;          var $_prepended = 0;
   
         function HTML_Template_Platon($filename = '', /* ...) {{{ */          function __construct($filename = '', /* ...) {{{ */
                         $method = HTML_TEMPLATE_PLATON_METHOD_NORMAL)                          $method = HTML_TEMPLATE_PLATON_METHOD_NORMAL)
         {          {
                 global $_HTML_Template_Platon_cfg;                  global $_HTML_Template_Platon_cfg;
Line 82  class HTML_Template_Platon
Line 82  class HTML_Template_Platon
                 $this->_method = $method;                  $this->_method = $method;
         } /* }}} */          } /* }}} */
   
         function setLoadFunction($function_name) /* {{{ */          static function setLoadFunction($function_name) /* {{{ */
         {          {
                 if (isset($this)) {                  if (isset($this)) {
                         $this->_load_fnc = $function_name;                          $this->_load_fnc = $function_name;
Line 297  class HTML_Template_Platon
Line 297  class HTML_Template_Platon
                         if ($i & 1) { // code                          if ($i & 1) { // code
                                 $ret .= $this->_array[$i];                                  $ret .= $this->_array[$i];
                         } else { // normal string                          } else { // normal string
                                 $ret .= '?>'.$this->_array[$i].'<?php ';                                  $ret .= '?'.'>'.$this->_array[$i].'<'.'?php ';
                         }                          }
                         $ret .= "\n";                          $ret .= "\n";
                 }                  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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