Plugin: Template Filter(Prototype Version) Author: Pan Ying(panying2000@gmail.com) Version: 1.0 Release Date: 2006/10/04 Chinese Note: http://www.pactofshadow.com/lifetype/2/articleperma/15.html This plugin provide a globe method to insernt code in every template before their render. Setup: 1.Insernt these code inside \class\template\template.class.php after line 95: include_once( PLOG_CLASS_PATH."plugins/templatefilter/plugintemplatefilter.class.php" ); Smarty::register_postfilter('PluginTemplateFilterSmartyPostFilter'); Smarty::register_prefilter('PluginTemplateFilterSmartyPreFilter'); 2.Copy the file in the zip to \plugins\templatefilter\