replace this file /core/tpl_classes/smartyTpl.php