protected function _parseExtendsCallback($m) {
        $m[1] = $this->_parseVariableInParameters($m[1]);

        $file = $this->resolve(RESOLVE_TEMPLATE, $m[1]) . '.tpl';

        if ($this->_template->getFile() != $file) {
            if (file_exists($file)) {
                if (isset($m[4])) //precised time cache
                {
                    $this->_parent = new Template($m[1], 'tplExtends_' . $this->_template->getName() . '_' . $m[4] . '_' . Request::instance()->lang, $m[4]);
                }
                else {
                    $this->_parent = new Template($m[1], 'tplExtends_' . $this->_template->getName() . '_' . Request::instance()->lang, 0);
                }

                $this->_parent->assign($this->_template->vars);
            }
            else {
                $this->addError('The template can\'t be extended by "' . $file . '"', __FILE__, __LINE__, ERROR_FATAL);
            }
        }
    }