public function renderTemplate($templateName, array $vars = array()) { $this->getSessionLog()->info("Rendering template '{$templateName}'"); $templateFileName = ENGINEBLOCK_FOLDER_MODULES . 'Authentication/View/Proxy/' . $templateName . '.phtml'; $view = new EngineBlock_View(); $view->setData($vars); return $view->render($templateFileName); }