add two vars to the templates slspath and tplpath
Merge pull request #14535 from steverweber/template_var

add two vars to the templates slspath and tplpath