- Is now possible to organize templates in subdirectory, ex:
TPL_DIR/TPL/news/news.html
$tpl = new RainTpl( 'TPL_DIR/TPL/' );
$tpl->draw( 'news/news' );
- Can be create xml template.
- $show_copyright parameter added to the RainTPL.compile.class.php, to show/hide comments in compiled templates. Set "false" for XML templates.
- Ereg function deprecated from PHP 5.3.0, substituted by preg_match. Thanks to Oliver Smith for support.
01 September 2009

