use getResource for URLs in TemplateWizard to avoid http access (Mantis bug #1057) (part 2, new approach)