Commit 0d8350e5 authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

SANKORE-321 refactroing main html create from trap widgets

parent 39211e36
...@@ -319,15 +319,15 @@ QString UBTrapFlashController::generateFullPageHtml(const QString& pDirPath, boo ...@@ -319,15 +319,15 @@ QString UBTrapFlashController::generateFullPageHtml(const QString& pDirPath, boo
QString htmlContentString; QString htmlContentString;
htmlContentString += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n"; htmlContentString += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n";
htmlContentString += "<html>\n"; htmlContentString += "<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n";
htmlContentString += "<head>\n"; htmlContentString += " <head>\r\n";
htmlContentString += " <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n"; htmlContentString += " <meta http-equiv=\"refresh\" content=\"0; " + mCurrentWebFrame->url().toString() + "\">\r\n";
htmlContentString += "</head>\n"; htmlContentString += " </head>\r\n";
htmlContentString += " <frameset cols=\"100%\">\n"; htmlContentString += " <body>\r\n";
htmlContentString += " <frame src=\"" + mCurrentWebFrame->url().toString() + "\"/>\n"; htmlContentString += " Redirect to target...\r\n";
htmlContentString += " </frameset>\n"; htmlContentString += " </body>\r\n";
htmlContentString += "</html>\n"; htmlContentString += "</html>\r\n";
if (!pGenerateFile) if (!pGenerateFile)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment