function redirectInfo($url, $title, $info = "") { if (!$url || !AnwUtils::isSafeUrl($url)) { $url = AnwUtils::link(self::globalCfgHomePage()); } $this->title = $title; $this->headJsOnload("setTimeout(function(){window.location.href='" . AnwUtils::escapeApostrophe($url) . "';},2000);"); //render head $this->renderHeadForOutput(); $this->out = $this->tpl()->globalBodyRedirectInfo($url, $title, $info); $this->out = $this->tpl()->globalHtml(self::g_("local_html_lang", array(), self::getActionLang()), self::g_("local_html_dir", array(), self::getActionLang()), $this->title, $this->head, $this->out); $this->printOutput(); }