protected function _getRedirectRulesTemplateName()
 {
     $xenOptions = XenForo_Application::get('options');
     if ($this->_viewRenderer instanceof XenForo_ViewRenderer_HtmlPublic || $this->_viewRenderer instanceof XenForo_ViewRenderer_HtmlAdmin) {
         if ($this->_viewRenderer instanceof XenForo_ViewRenderer_HtmlAdmin) {
             if (!$xenOptions->th_redirectRules_allowAdmin) {
                 return false;
             }
         }
         if ($this->_controllerResponse instanceof XenForo_ControllerResponse_View) {
             ThemeHouse_RedirectRules_Listener_TemplatePostRender::$checkRedirectRules = $this->_controllerResponse->templateName;
             return true;
         }
     }
 }
 public static function templatePostRender($templateName, &$content, array &$containerData, XenForo_Template_Abstract $template)
 {
     $templatePostRender = new ThemeHouse_RedirectRules_Listener_TemplatePostRender($templateName, $content, $containerData, $template);
     list($content, $containerData) = $templatePostRender->run();
 }