Habs so gelöst:
$right = array(
foo.tmpl.html,
bar..tmpl.html,
);
$right_parse = ;
foreach ($right as $datei) {
$temp_tmpl = new vlibTemplate(
$datei,
array(
TEMPLATE_DIR => removeDoubleSlashes($_SERVER[DOCUMENT_ROOT].DOCROOT.inc/tmpl/),
TIME_PARSE => 1,
STRICT => 1,
)
);
$temp_tmpl->setVar($tmpl->getVars());
$right_parse .= $temp_tmpl->grab();
}
$tmpl->setVar(right, $right_parse);