reduce calls to get_template_directory()

Signed-off-by: hugosaner <hugo@sanerdesign.com>
Merge branch 'master' of github.com:cyberchimps/Eclipse