Search for templates first in the environment then in the configured
directory.
Authored by: jonas 2004-04-06
Parent: [r383]
Child: [r385]