modified:   lib/template.class.php