includes/template.php
changeset 271 4e26d6079910
parent 267 105457df35e5
child 272 27f5ac58992c
equal deleted inserted replaced
270:a48b72312f6d 271:4e26d6079910
  2093     $this->tpl_bool = $parent->tpl_bool;
  2093     $this->tpl_bool = $parent->tpl_bool;
  2094   }
  2094   }
  2095   /**
  2095   /**
  2096    * PHP 4 constructor.
  2096    * PHP 4 constructor.
  2097    */
  2097    */
  2098   function templateIndividual($text)
  2098   function templateIndividualSafe($text, $parent)
  2099   {
  2099   {
  2100     $this->__construct($text);
  2100     $this->__construct($text, $parent);
  2101   }
  2101   }
  2102   /**
  2102   /**
  2103    * Assigns an array of string values to the template. Strings can be accessed from the template by inserting {KEY_NAME} in the template file.
  2103    * Assigns an array of string values to the template. Strings can be accessed from the template by inserting {KEY_NAME} in the template file.
  2104    * @param $vars array
  2104    * @param $vars array
  2105    */
  2105    */