3 require 'smarty/libs/Smarty.class.php';
5 class PHPFSPOT_TMPL extends Smarty {
9 public function __construct($parent)
12 $this->template_dir = $parent->cfg->base_path .'/templates';
13 $this->compile_dir = $parent->cfg->base_path .'/templates_c';
14 $this->config_dir = $parent->cfg->base_path .'/smarty_config';
15 $this->cache_dir = $parent->cfg->base_path .'/smarty_cache';
19 public function show($template)
21 $this->display($template);