tokenAuth = $tokenAuth; } /** * Outputs the data. * * @return string html */ public function render() { // set response headers @Common::stripHeader('Pragma'); @Common::stripHeader('Expires'); @Common::sendHeader('Content-Type: text/html; charset=UTF-8'); @Common::sendHeader('Cache-Control: no-store'); @Common::sendHeader('X-Frame-Options: deny'); $error = htmlspecialchars($this->error, ENT_QUOTES, 'UTF-8'); $messages = htmlspecialchars(serialize($this->feedbackMessages), ENT_QUOTES, 'UTF-8'); $tokenAuth = $this->tokenAuth; $httpsFail = (int) $this->httpsFail; // use a heredoc instead of an external file echo <<
END_OF_TEMPLATE; } }